Re: Temporarily turning off magic quotes?

From: Date: Sun, 25 Feb 2001 04:59:42 +0000
Subject: Re: Temporarily turning off magic quotes?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-41543@lists.php.net to get a copy of this message
You can do it using .htaccess (or equivalent) directive: php_flag magic_quotes_gpc off On Sat, 24 Feb 2001, Ben Cheng wrote: > If I have magic quotes turned on for post/get/etc. in my php.ini, is > there any way to temporarily turn it off for one page? For example, > I have a preview page inbetween my data entry page and the page that > actually saves to db. I don't want magic quotes turned on when going > from the data entry to the preview page since all quotes keep getting > backslashed. Is there a way to do this? > > -Ben > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/

« previous php.general (#41543) next »