+ 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 EUC-JP users
+
+
+
+
+
+
+
+ &php.ini; setting for SJIS 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 FunctionsMulti-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 EUC-JP users
-
-
-
-
-
-
-
- &php.ini; setting for SJIS 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;
+
+
+ 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 functionsPostgreSQL
@@ -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;
+
+
+ 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 functionsSessions
-
+
@@ -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;