diff --git a/reference/hw/ini.xml b/reference/hw/ini.xml new file mode 100644 index 0000000000..7bcf6d785f --- /dev/null +++ b/reference/hw/ini.xml @@ -0,0 +1,57 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Hyperwave configuration options + + + + Name + Default + Changeable + + + + + hyerwave.allow_persistent + "0" + PHP_INI_SYSTEM + + + hyperwave.default_port + "418" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + + diff --git a/reference/hw/reference.xml b/reference/hw/reference.xml index 7dee15ad5c..617677a465 100644 --- a/reference/hw/reference.xml +++ b/reference/hw/reference.xml @@ -1,5 +1,5 @@ - + Hyperwave functions Hyperwave @@ -378,10 +378,7 @@ RewriteEngine on -
- &reftitle.runtime; - &no.config; -
+ &reference.hw.ini;
&reftitle.resources; diff --git a/reference/hwapi/ini.xml b/reference/hwapi/ini.xml new file mode 100644 index 0000000000..0772b888dc --- /dev/null +++ b/reference/hwapi/ini.xml @@ -0,0 +1,51 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Hyperwave API configuration options + + + + Name + Default + Changeable + + + + + hwapi.allow_persistent + "0" + PHP_INI_SYSTEM + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/hwapi/reference.xml b/reference/hwapi/reference.xml index e57d54f581..6dbf94564a 100644 --- a/reference/hwapi/reference.xml +++ b/reference/hwapi/reference.xml @@ -1,5 +1,5 @@ - + Hyperwave API functions Hyperwave API @@ -62,10 +62,7 @@
-
- &reftitle.runtime; - &no.config; -
+ &reference.hwapi.ini;
&reftitle.resources; diff --git a/reference/ibase/ini.xml b/reference/ibase/ini.xml new file mode 100644 index 0000000000..7f0500154f --- /dev/null +++ b/reference/ibase/ini.xml @@ -0,0 +1,86 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + InterBase configuration options + + + + Name + Default + Changeable + + + + + ibase.allow_persistent + "1" + PHP_INI_SYSTEM + + + ibase.max_persistent + "-1" + PHP_INI_SYSTEM + + + ibase.max_links + "-1" + PHP_INI_SYSTEM + + + ibase.default_user + NULL + PHP_INI_ALL + + + ibase.default_password + NULL + PHP_INI_ALL + + + ibase.timestampformat + "%m/%d/%Y%H:%M:%S" + PHP_INI_ALL + + + ibase.dateformat + "%m/%d/%Y" + PHP_INI_ALL + + + ibase.timeformat + "%H:%M:%S" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/ibase/reference.xml b/reference/ibase/reference.xml index fdd53232b7..fba2b5ae9e 100644 --- a/reference/ibase/reference.xml +++ b/reference/ibase/reference.xml @@ -1,5 +1,5 @@ - + InterBase functions InterBase @@ -44,11 +44,7 @@ magic_quotes_sybase = On
-
- &reftitle.runtime; - - -
+ &reference.ibase.ini;
&reftitle.resources; diff --git a/reference/ingres-ii/ini.xml b/reference/ingres-ii/ini.xml new file mode 100644 index 0000000000..2d29c43084 --- /dev/null +++ b/reference/ingres-ii/ini.xml @@ -0,0 +1,77 @@ +
+ + +
+ &reftitle.runtime; + &extension.runtime; + + + Ingres II configuration options + + + + Name + Default + Changeable + + + + + ingres.allow_persistent + "1" + PHP_INI_SYSTEM + + + ingres.max_persistent + "-1" + PHP_INI_SYSTEM + + + ingres.max_links + "-1" + PHP_INI_SYSTEM + + + ingres.default_database + NULL + PHP_INI_ALL + + + ingres.default_user + NULL + PHP_INI_ALL + + + ingres.default_password + NULL + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/ingres-ii/reference.xml b/reference/ingres-ii/reference.xml index b89028b8b4..485fa0e84a 100644 --- a/reference/ingres-ii/reference.xml +++ b/reference/ingres-ii/reference.xml @@ -1,5 +1,5 @@ - + Ingres II functions Ingres II @@ -54,10 +54,7 @@
-
- &reftitle.runtime; - &no.config; -
+ &reference.ingres-ii.ini;
&reftitle.resources; diff --git a/reference/java/ini.xml b/reference/java/ini.xml new file mode 100644 index 0000000000..eaf738bd1e --- /dev/null +++ b/reference/java/ini.xml @@ -0,0 +1,66 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Java configuration options + + + + Name + Default + Changeable + + + + + java.class.path + NULL + PHP_INI_ALL + + + java.home + NULL + PHP_INI_ALL + + + java.library.path + NULL + PHP_INI_ALL + + + java.library + JAVALIB + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/java/reference.xml b/reference/java/reference.xml index eb86c8c239..72b5cfb8c6 100644 --- a/reference/java/reference.xml +++ b/reference/java/reference.xml @@ -1,5 +1,5 @@ - + PHP / Java Integration Java @@ -38,6 +38,7 @@
+ + + &reference.java.ini;
&reftitle.resources; diff --git a/reference/ldap/ini.xml b/reference/ldap/ini.xml new file mode 100644 index 0000000000..ade0fc607a --- /dev/null +++ b/reference/ldap/ini.xml @@ -0,0 +1,51 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + LDAP configuration options + + + + Name + Default + Changeable + + + + + ldap.max_links + "-1" + PHP_INI_SYSTEM + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/ldap/reference.xml b/reference/ldap/reference.xml index 7f549a3841..b91719cd00 100644 --- a/reference/ldap/reference.xml +++ b/reference/ldap/reference.xml @@ -1,5 +1,5 @@ - + LDAP functions LDAP @@ -110,10 +110,7 @@
-
- &reftitle.runtime; - &no.config; -
+ &reference.ldap.ini;
&reftitle.resources; diff --git a/reference/mbstring/ini.xml b/reference/mbstring/ini.xml new file mode 100644 index 0000000000..d437f06178 --- /dev/null +++ b/reference/mbstring/ini.xml @@ -0,0 +1,235 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Multi-Byte String configuration options + + + + Name + Default + Changeable + + + + + mbstring.language + NULL + PHP_INI_ALL + + + mbstring.detect_order + NULL + PHP_INI_ALL + + + mbstring.http_input + NULL + PHP_INI_ALL + + + mbstring.http_output + NULL + PHP_INI_ALL + + + mbstring.internal_encoding + NULL + PHP_INI_ALL + + + mbstring.script_encoding + NULL + PHP_INI_ALL + + + mbstring.substitute_character + NULL + PHP_INI_ALL + + + mbstring.func_overload + "0" + PHP_INI_SYSTEM + + + mbstring.encoding_translation + "0" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+ + Here is a short explanation of the configuration directives. + + + + mbstring.internal_encoding defines default + internal character encoding. + + + + + mbstring.http_input defines default HTTP + input character encoding. + + + + + mbstring.http_output defines default HTTP + output character encoding. + + + + + mbstring.detect_order defines default + character code detection order. See also + mb_detect_order. + + + + + mbstring.substitute_character defines + character to substitute for invalid character encoding. + + + + + + Web Browsers are supposed to use the same character encoding + when submitting form. However, browsers may not use the same + character encoding. See mb_http_input to + detect character encoding used by browsers. + + + If enctype is set to + multipart/form-data in HTML forms, + mbstring does not convert character encoding + in POST data. The user must convert them in the script, if + conversion is needed. + + + Although, browsers are smart enough to detect character encoding + in HTML. charset is better to be set in HTTP + header. Change default_charset according to + character encoding. + + + + &php.ini; setting example + + + + + + + + &php.ini; setting for <literal>EUC-JP</literal> users + + + + + + + + &php.ini; setting for <literal>SJIS</literal> users + + + + + + +
+ + + diff --git a/reference/mbstring/reference.xml b/reference/mbstring/reference.xml index ddd3852bcd..cb1762a75e 100644 --- a/reference/mbstring/reference.xml +++ b/reference/mbstring/reference.xml @@ -1,5 +1,5 @@ - + Multi-Byte String Functions Multi-Byte String @@ -136,152 +136,8 @@ JIS, SJIS
-
- &reftitle.runtime; - - - - - mbstring.internal_encoding defines default - internal character encoding. - - - - - mbstring.http_input defines default HTTP - input character encoding. - - - - - mbstring.http_output defines default HTTP - output character encoding. - - - - - mbstring.detect_order defines default - character code detection order. See also - mb_detect_order. - - - - - mbstring.substitute_character defines - character to substitute for invalid character encoding. - - - - - - Web Browsers are supposed to use the same character encoding - when submitting form. However, browsers may not use the same - character encoding. See mb_http_input to - detect character encoding used by browsers. - - - If enctype is set to - multipart/form-data in HTML forms, - mbstring does not convert character encoding - in POST data. The user must convert them in the script, if - conversion is needed. - - - Although, browsers are smart enough to detect character encoding - in HTML. charset is better to be set in HTTP - header. Change default_charset according to - character encoding. - - - - &php.ini; setting example - - - - - - - - &php.ini; setting for <literal>EUC-JP</literal> users - - - - - - - - &php.ini; setting for <literal>SJIS</literal> users - - - - - -
-
&reftitle.resources; &no.resource; diff --git a/reference/mime_magic/ini.xml b/reference/mime_magic/ini.xml new file mode 100644 index 0000000000..4516b66a17 --- /dev/null +++ b/reference/mime_magic/ini.xml @@ -0,0 +1,51 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Mimetype configuration options + + + + Name + Default + Changeable + + + + + mime_magic.magicfile + "/usr/share/misc/magic.mime" + PHP_INI_SYSTEM + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/mime_magic/reference.xml b/reference/mime_magic/reference.xml index 26c2ac348f..3cf634d658 100644 --- a/reference/mime_magic/reference.xml +++ b/reference/mime_magic/reference.xml @@ -1,5 +1,5 @@ - + Mimetype Functions Mimetype @@ -37,28 +37,7 @@
-
- &reftitle.runtime; - - MIME magic Configuration options - - - - Name - Default - Changeable - - - - - mime_magic.magicfile - "/usr/share/misc/magic.mime" - PHP_INI_SYSTEM - - - -
-
+ &reference.mime-magic.ini;
&reftitle.resources; diff --git a/reference/msql/ini.xml b/reference/msql/ini.xml new file mode 100644 index 0000000000..8b3213895d --- /dev/null +++ b/reference/msql/ini.xml @@ -0,0 +1,82 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + mSQL configuration options + + + + Name + Default + Changeable + + + + + msql.allow_persistent + "On" + PHP_INI_SYSTEM + + + msql.max_persistent + "-1" + PHP_INI_SYSTEM + + + msql.max_links + "-1" + PHP_INI_SYSTEM + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+ + Here is a short explanation of the configuration directives. + + + + + msql.allow_persistent + boolean + + + + Whether to allow persistent mSQL connections. + + + + + + + msql.max_persistent + integer + + + + The maximum number of persistent mSQL connections per process. + + + + + + + msql.max_links + integer + + + + The maximum number of mSQL connections per process, including + persistent connections. + + + + + + +
\ No newline at end of file diff --git a/reference/msql/reference.xml b/reference/msql/reference.xml index e1473615e1..046025aa2e 100644 --- a/reference/msql/reference.xml +++ b/reference/msql/reference.xml @@ -1,5 +1,5 @@ - + mSQL functions mSQL @@ -30,12 +30,7 @@
- -
- &reftitle.runtime; - - -
+ &reference.msql.ini;
&reftitle.resources; diff --git a/reference/mssql/ini.xml b/reference/mssql/ini.xml new file mode 100644 index 0000000000..fa6ff13690 --- /dev/null +++ b/reference/mssql/ini.xml @@ -0,0 +1,116 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + MS SQL Server configuration options + + + + Name + Default + Changeable + + + + + mssql.allow_persistent + "1" + PHP_INI_SYSTEM + + + mssql.max_persistent + "-1" + PHP_INI_SYSTEM + + + mssql.max_links + "-1" + PHP_INI_SYSTEM + + + mssql.min_error_severity + "10" + PHP_INI_ALL + + + mssql.min_message_severity + "10" + PHP_INI_ALL + + + mssql.compatability_mode + "0" + PHP_INI_ALL + + + mssql.connect_timeout + "5" + PHP_INI_ALL + + + mssql.timeout + "60" + PHP_INI_ALL + + + mssql.textsize + "-1" + PHP_INI_ALL + + + mssql.textlimit + "-1" + PHP_INI_ALL + + + mssql.batchsize + "0" + PHP_INI_ALL + + + mssql.datetimeconvert + "1" + PHP_INI_ALL + + + mssql.secure_connection + "0" + PHP_INI_SYSTEM + + + mssql.max_procs + "25" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/mssql/reference.xml b/reference/mssql/reference.xml index a32a7387ea..b4f7b26358 100644 --- a/reference/mssql/reference.xml +++ b/reference/mssql/reference.xml @@ -1,5 +1,5 @@ - + Microsoft SQL Server functions MS SQL Server @@ -41,11 +41,7 @@
-
- &reftitle.runtime; - - -
+ &reference.mssql.ini;
&reftitle.resources; diff --git a/reference/ncurses/ini.xml b/reference/ncurses/ini.xml new file mode 100644 index 0000000000..0decbd414c --- /dev/null +++ b/reference/ncurses/ini.xml @@ -0,0 +1,56 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Ncurses configuration options + + + + Name + Default + Changeable + + + + + ncurses.value + "42" + PHP_INI_ALL + + + ncurses.string + "foobar" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/ncurses/reference.xml b/reference/ncurses/reference.xml index 549486d0e5..f0b7352dc8 100644 --- a/reference/ncurses/reference.xml +++ b/reference/ncurses/reference.xml @@ -1,5 +1,5 @@ - + Ncurses terminal screen control functions ncurses functions @@ -50,10 +50,7 @@
-
- &reftitle.runtime; - &no.config; -
+ &reference.ncurses.ini;
&reftitle.resources; diff --git a/reference/pfpro/ini.xml b/reference/pfpro/ini.xml new file mode 100644 index 0000000000..b087b33127 --- /dev/null +++ b/reference/pfpro/ini.xml @@ -0,0 +1,86 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Verisign Payflow Pro configuration options + + + + Name + Default + Changeable + + + + + pfpro.defaulthost/PFPRO_VERSION < 3 + "test.signio.com" + PHP_INI_ALL + + + pfpro.defaulthost + "test-payflow.verisign.com" + PHP_INI_ALL + + + pfpro.defaultport + "443" + PHP_INI_ALL + + + pfpro.defaulttimeout + "30" + PHP_INI_ALL + + + pfpro.proxyaddress + "" + PHP_INI_ALL + + + pfpro.proxyport + "" + PHP_INI_ALL + + + pfpro.proxylogon + "" + PHP_INI_ALL + + + pfpro.proxypassword + "" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+
+ + + diff --git a/reference/pfpro/reference.xml b/reference/pfpro/reference.xml index c50dc2fec2..384483d3c5 100644 --- a/reference/pfpro/reference.xml +++ b/reference/pfpro/reference.xml @@ -1,5 +1,5 @@ - + Verisign Payflow Pro functions Verisign Payflow Pro @@ -60,11 +60,7 @@
-
- &reftitle.runtime; - - -
+ &reference.pfpro.ini;
&reftitle.resources; diff --git a/reference/pgsql/ini.xml b/reference/pgsql/ini.xml new file mode 100644 index 0000000000..0389f8ec1c --- /dev/null +++ b/reference/pgsql/ini.xml @@ -0,0 +1,121 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + PostgreSQL configuration options + + + + Name + Default + Changeable + + + + + pgsql.allow_persistent + "1" + PHP_INI_SYSTEM + + + pgsql.max_persistent + "-1" + PHP_INI_SYSTEM + + + pgsql.max_links + "-1" + PHP_INI_SYSTEM + + + pgsql.auto_reset_persistent + "0" + PHP_INI_SYSTEM + + + pgsql.ignore_notice + "0" + PHP_INI_ALL + + + pgsql.log_notice + "0" + PHP_INI_ALL + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+ + Here is a short explanation of the configuration directives. + + + + + pgsql.allow_persistent + boolean + + + + Whether to allow persistent Postgres connections. + + + + + + + pgsql.max_persistent + integer + + + + The maximum number of persistent Postgres connections per + process. + + + + + + + pgsql.max_links + integer + + + + The maximum number of Postgres connections per process, + including persistent connections. + + + + + + + +
+ + + diff --git a/reference/pgsql/reference.xml b/reference/pgsql/reference.xml index 4090dd5eee..ebf4c2ff22 100644 --- a/reference/pgsql/reference.xml +++ b/reference/pgsql/reference.xml @@ -1,5 +1,5 @@ - + PostgreSQL functions PostgreSQL @@ -42,13 +42,7 @@
-
- &reftitle.runtime; - - Supported ini directives are described in - php.ini-dist which comes with source distribution. - -
+ &reference.pgsql.ini;
How to use and hints diff --git a/reference/session/ini.xml b/reference/session/ini.xml new file mode 100644 index 0000000000..1b03f2090d --- /dev/null +++ b/reference/session/ini.xml @@ -0,0 +1,364 @@ + + +
+ &reftitle.runtime; + &extension.runtime; + + + Session configuration options + + + + Name + Default + Changeable + + + + + session.save_path + "/tmp" + PHP_INI_ALL + + + session.name + "PHPSESSID" + PHP_INI_ALL + + + session.save_handler + "files" + PHP_INI_ALL + + + session.auto_start + "0" + PHP_INI_ALL + + + session.gc_probability + "1" + PHP_INI_ALL + + + session.gc_maxlifetime + "1440" + PHP_INI_ALL + + + session.serialize_handler + "php" + PHP_INI_ALL + + + session.cookie_lifetime + "0" + PHP_INI_ALL + + + session.cookie_path + "/" + PHP_INI_ALL + + + session.cookie_domain + "" + PHP_INI_ALL + + + session.cookie_secure + "" + PHP_INI_ALL + + + session.use_cookies + "1" + PHP_INI_ALL + + + session.use_only_cookies + "0" + PHP_INI_ALL + + + session.referer_check + "" + PHP_INI_ALL + + + session.entropy_file + "" + PHP_INI_ALL + + + session.entropy_length + "0" + PHP_INI_ALL + + + session.cache_limiter + "nocache" + PHP_INI_ALL + + + session.cache_expire + "180" + PHP_INI_ALL + + + session.use_trans_sid + "0" + PHP_INI_ALL + + + + + + +
+ For further details and definition of the PHP_INI_* constants see + ini_set. +
+ + The session management system supports a number of configuration + options which you can place in your &php.ini; file. We will give a + short overview. + + + + session.save_handler defines the name of the + handler which is used for storing and retrieving data + associated with a session. Defaults to + files. + + + + + session.save_path defines the argument which + is passed to the save handler. If you choose the default files + handler, this is the path where the files are created. + Defaults to /tmp. If + session.save_path's path depth is more than + 2, garbage collection will not be performed. + + + + If you leave this set to a world-readable directory, such as + /tmp (the default), other users on the + server may be able to hijack sessions by getting the list of + files in that directory. + + + + + Windows users have to change this variable in order to use PHP's + session functions. + + + + + + session.name specifies the name of the + session which is used as cookie name. It should only contain + alphanumeric characters. Defaults to + PHPSESSID. + + + + + session.auto_start specifies whether the + session module starts a session automatically on request + startup. Defaults to 0 (disabled). + + + + + session.cookie_lifetime specifies the lifetime of + the cookie in seconds which is sent to the browser. The value 0 + means "until the browser is closed." Defaults to + 0. + + + + + session.serialize_handler defines the name + of the handler which is used to serialize/deserialize + data. Currently, a PHP internal format (name + php) and WDDX is supported (name + wddx). WDDX is only available, if PHP is + compiled with WDDX + support. Defaults to php. + + + + + session.gc_probability specifies the + probability that the gc (garbage collection) routine is started + on each request in percent. Defaults to 1. + + + + + session.gc_maxlifetime specifies the number + of seconds after which data will be seen as 'garbage' and + cleaned up. + + + If you are using the default file-based session handler, your + filesystem must keep track of access times (atime). Windows FAT does + not so you will have to come up with another way to handle garbage + collecting your session if you are stuck with a FAT filesystem or any + other fs where atime tracking is not available. + + + + + + session.referer_check contains the + substring you want to check each HTTP Referer for. If the + Referer was sent by the client and the substring was not + found, the embedded session id will be marked as invalid. + Defaults to the empty string. + + + + + session.entropy_file gives a path to an + external resource (file) which will be used as an additional + entropy source in the session id creation process. Examples are + /dev/random or + /dev/urandom which are available on many + Unix systems. + + + + + session.entropy_length specifies the number + of bytes which will be read from the file specified + above. Defaults to 0 (disabled). + + + + + session.use_cookies specifies whether the + module will use cookies to store the session id on the client + side. Defaults to 1 (enabled). + + + + + session.use_only_cookies specifies whether + the module will only use + cookies to store the session id on the client side. Defaults + to 0 (disabled, for backward compatibility). + Enabling this setting prevents attacks involved passing session + ids in URLs. This setting was added in PHP + 4.3.0. + + + + + session.cookie_path specifies path to set + in session_cookie. Defaults to /. + + + + + session.cookie_domain specifies domain to + set in session_cookie. Default is none at all. + + + + + session.cache_limiter specifies cache + control method to use for session pages + (none/nocache/private/private_no_expire/public). Defaults to + nocache. + + + + + session.cache_expire specifies time-to-live + for cached session pages in minutes, this has no effect for + nocache limiter. Defaults to 180. + + + + + session.use_trans_sid whether transparent + sid support is enabled or not. Defaults to + 0 (disabled). + + + + For PHP 4.1.2 or less, it is enabled by compiling with + + --enable-trans-sid. + From PHP 4.2.0, trans-sid feature is always compiled. + + + URL based session management has additional security risks + compared to cookie based session management. Users may send + an URL that contains an active session ID to their friends by + email or users may save an URL that contains a session ID to + their bookmarks and access your site with the same session ID + always, for example. + + + + + + url_rewriter.tags spefifies which html tags + are rewritten to include session id if transparent sid support + is enabled. Defaults to + a=href,area=href,frame=src,input=src,form=fakeentry + + + + + + The track_vars and + register_globals + configuration settings influence how the session variables get + stored and restored. + + + + + As of PHP 4.0.3, track_vars is + always turned on. + + + +
+ + + diff --git a/reference/session/reference.xml b/reference/session/reference.xml index 14c0fbf387..db61a4adcd 100644 --- a/reference/session/reference.xml +++ b/reference/session/reference.xml @@ -1,9 +1,9 @@ - + Session handling functions Sessions - +
@@ -96,216 +96,7 @@
-
- &reftitle.runtime; - - The session management system supports a number of configuration - options which you can place in your &php.ini; file. We will give a - short overview. - - - - session.save_handler defines the name of the - handler which is used for storing and retrieving data - associated with a session. Defaults to - files. - - - - - session.save_path defines the argument which - is passed to the save handler. If you choose the default files - handler, this is the path where the files are created. - Defaults to /tmp. If - session.save_path's path depth is more than - 2, garbage collection will not be performed. - - - - If you leave this set to a world-readable directory, such as - /tmp (the default), other users on the - server may be able to hijack sessions by getting the list of - files in that directory. - - - - - - session.name specifies the name of the - session which is used as cookie name. It should only contain - alphanumeric characters. Defaults to - PHPSESSID. - - - - - session.auto_start specifies whether the - session module starts a session automatically on request - startup. Defaults to 0 (disabled). - - - - - session.cookie_lifetime specifies the lifetime of - the cookie in seconds which is sent to the browser. The value 0 - means "until the browser is closed." Defaults to - 0. - - - - - session.serialize_handler defines the name - of the handler which is used to serialize/deserialize - data. Currently, a PHP internal format (name - php) and WDDX is supported (name - wddx). WDDX is only available, if PHP is - compiled with WDDX - support. Defaults to php. - - - - - session.gc_probability specifies the - probability that the gc (garbage collection) routine is started - on each request in percent. Defaults to 1. - - - - - session.gc_maxlifetime specifies the number - of seconds after which data will be seen as 'garbage' and - cleaned up. - - - If you are using the default file-based session handler, your - filesystem must keep track of access times (atime). Windows FAT does - not so you will have to come up with another way to handle garbage - collecting your session if you are stuck with a FAT filesystem or any - other fs where atime tracking is not available. - - - - - - session.referer_check contains the - substring you want to check each HTTP Referer for. If the - Referer was sent by the client and the substring was not - found, the embedded session id will be marked as invalid. - Defaults to the empty string. - - - - - session.entropy_file gives a path to an - external resource (file) which will be used as an additional - entropy source in the session id creation process. Examples are - /dev/random or - /dev/urandom which are available on many - Unix systems. - - - - - session.entropy_length specifies the number - of bytes which will be read from the file specified - above. Defaults to 0 (disabled). - - - - - session.use_cookies specifies whether the - module will use cookies to store the session id on the client - side. Defaults to 1 (enabled). - - - - - session.use_only_cookies specifies whether - the module will only use - cookies to store the session id on the client side. Defaults - to 0 (disabled, for backward compatibility). - Enabling this setting prevents attacks involved passing session - ids in URLs. This setting was added in PHP - 4.3.0. - - - - - session.cookie_path specifies path to set - in session_cookie. Defaults to /. - - - - - session.cookie_domain specifies domain to - set in session_cookie. Default is none at all. - - - - - session.cache_limiter specifies cache - control method to use for session pages - (none/nocache/private/private_no_expire/public). Defaults to - nocache. - - - - - session.cache_expire specifies time-to-live - for cached session pages in minutes, this has no effect for - nocache limiter. Defaults to 180. - - - - - session.use_trans_sid whether transparent - sid support is enabled or not. Defaults to - 0 (disabled). - - - - For PHP 4.1.2 or less, it is enabled by compiling with - - --enable-trans-sid. - From PHP 4.2.0, trans-sid feature is always compiled. - - - URL based session management has additional security risks - compared to cookie based session management. Users may send - an URL that contains an active session ID to their friends by - email or users may save an URL that contains a session ID to - their bookmarks and access your site with the same session ID - always, for example. - - - - - - url_rewriter.tags spefifies which html tags - are rewritten to include session id if transparent sid support - is enabled. Defaults to - a=href,area=href,frame=src,input=src,form=fakeentry - - - - - - The track_vars and - register_globals - configuration settings influence how the session variables get - stored and restored. - - - - - As of PHP 4.0.3, track_vars is - always turned on. - - -
+ &reference.session.ini;
&reftitle.resources;