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 <[EMAIL PROTECTED]>
http://www.zend.com/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to