Re: set_magic_quotes_runtime()

From: Date: Mon, 25 Jun 2001 07:29:26 +0000
Subject: Re: set_magic_quotes_runtime()
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-55109@lists.php.net to get a copy of this message
I think that by the time you call set_magic_quotes_runtime(), all the incoming data has already been munged... So, set_magic_quotes_runtime() *works*, it just doesn't time-travel to undo the magic that was done :-) -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm ----- Original Message ----- From: "Murray Shields" <murray@mu.com.au> Newsgroups: php.general Sent: Sunday, June 24, 2001 8:27 PM Subject: [PHP] set_magic_quotes_runtime() > Having trouble with the command in the subject... > > I have a web server with PHP4 and MySQL with magic_quotes turned on in the > default configuration... > > But when I set_magic_quotes_runtime(0) within a site where I need it turned > off it works, but it does not work! For example: > > echo "[".get_magic_quotes_runtime()."]"; > set_magic_quotes_runtime (0); > echo "[".get_magic_quotes_runtime()."]"; > > outputs: > > [1][0] > > But the site behaves as though magic quotes is still turned on! > > Any tricks to using this command? > > ====================================================================== > Murray Shields Email: murray@globalcat.com.au > MU Systems Pty Ltd Phone: +61 7 3351 6677 > Global Catalogs Pty Ltd Phone: +61 7 3351 4777 > > > -- > 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 >

« previous php.general (#55109) next »