September 2001
Intermediate to advanced
768 pages
32h 45m
English
string ini_alter(string name, string value)
Alters the value of a PHP configuration option.
Returns:
Previous value of setting; FALSE on error
Description:
Alter the value of a PHP configuration option. This is not a permanent change and exists only for the lifetime of the script calling the function. This is an alias for ini_set().
Version:
Existing since version 4.0
Example:
$option = 'magic_quotes_gpc'; echo "Value of $option => ", ini_get($option); ini_alter($option,0); echo "New value of $option => ", ini_get($option); |
Read now
Unlock full access