Re: [PHP4BETA] ini_alter()
| From: | Zeev Suraski | Date: | Fri, 30 Jul 1999 15:18:15 +0000 |
| Subject: | Re: [PHP4BETA] ini_alter() | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2970@lists.php.net to get a copy of this message | ||
At 16:19 30/07/99 , Andrey Zmievski wrote:
Having problems with ini_alter() here. In ini file I had magic_quotes_gpc set to 'On', but in one script I needed to turn it off. So I put ini_alter(magic_quotes_gpc, "Off") in the main include file for that script, but the text still came back with backslashed quote marks. Then I turned the directive off in the ini file and it worked. So it seems either ini_alter() doesn't work or post.c is not getting proper information somehow.You can't use ini_alter() to alter things that have implications on the input, since input processing is done before the execution of the script. Zeev -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il