2009/4/16 Jani Taskinen <jani.taski...@sci.fi>: > Richard Quadling kirjoitti: >> >> Hi. >> >> In the ini files the arg_separator's are detailed as ... >> >> ; The separator used in PHP generated URLs to separate arguments. >> ; PHP's default setting is "&". >> ; http://php.net/arg-separator.output >> ; Example: >> ;arg_separator.output = "&" >> >> ; List of separator(s) used by PHP to parse input URLs into variables. >> ; PHP's default setting is "&". >> ; NOTE: Every character in this directive is considered as separator! >> ; http://php.net/arg-separator.input >> ; Example: >> ;arg_separator.input = ";&" >> >> >> In php-src/main/main.c /* $Id: main.c,v 1.795 2009/03/27 02:33:44 >> lbarnaud Exp $ */, lines 540-541 ... >> >> STD_PHP_INI_ENTRY("arg_separator.output", "&", >> PHP_INI_ALL, OnUpdateStringUnempty, arg_separator.output, >> php_core_globals, core_globals) >> STD_PHP_INI_ENTRY("arg_separator.input", "&", >> PHP_INI_SYSTEM|PHP_INI_PERDIR, OnUpdateStringUnempty, >> arg_separator.input, php_core_globals, core_globals) >> >> >> Why are the defaults in PHP not the same as the defaults for the INI >> files, considering both php.ini-development and php.ini-production >> both agree on the alternative setting? > > Read the comments a bit more carefully: > >> ; Example: >> ;arg_separator.input = ";&" > > Note the word "example" there.. > > --Jani >
Oh bugger. I spent a good 10 minutes on that. -- ----- Richard Quadling Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731 "Standing on the shoulders of some very clever giants!" -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php