Re: ini_set('magic_quotes_gpc','on') no?
| From: | Rasmus Lerdorf | Date: | Mon, 08 Jan 2001 02:33:27 +0000 |
| Subject: | Re: ini_set('magic_quotes_gpc','on') no? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-33158@lists.php.net to get a copy of this message | ||
Directives that affect actions that are taken before a script is parsed,
such as mangling EGPCS data, can not be changed by the script.
-Rasmus
On Mon, 8 Jan 2001, Philip Olson wrote:
>
> When doing :
>
> if (get_magic_quotes_gpc() == FALSE) {
> ini_set('magic_quotes_gpc','on');
> }
>
> Or vise versa, it seems to have no affect YET a change does seem to exist
> as after doing the above and then :
>
> if (get_magic_quotes_gpc() == TRUE) {
> print 'quotes are on';
> }
>
> It shows them to be on yet they really are not. Within user comments
> here :
>
> http://www.php.net/manual/function.ini-set.php
>
> It basically says some cannot be changed. Which can and cannot? The
> above would (will?) be very useful, suggestions?
>
>
> Regards,
>
> Philip Olson
>
>
>
> be outside the box.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>