> on 9/20/02 10:06 AM, John Holmes at [EMAIL PROTECTED] appended the > following bits to my mbox: > > > The manual says these settings can be changed at the user level, but it > > doesn't appear like they can, unless we're both doing something very > > wrong. > > I believe that all variable processing is done (and slashes are added) > before any of the page parsing is done. That's why ini_set within the > script won't work.
I understand that, and it makes sense that a command in a file wouldn't affect the settings, but in the manual, it says magic_quotes_gpc is a user level setting, meaning you can use ini_set to control it. > If you are using apache, try a .htaccess file in the directory with: > > php_value magic_quotes_gpc 0 We're trying to get this to work on IIS or without an .htaccess file. The OP cannot change PHP.ini, either. > Look through the comments at the page below for further information: > > http://www.php.net/manual/en/function.ini-set.php Okay...what's the point of being able to set magic_quotes_gpc within a script, but it will have _no_ effect. That's really stupid. They should just change the manual page to say PHP_INI_PERDIR... ---John Holmes... -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php