magic_quotes_gpc and \

From: Date: Fri, 10 Oct 2003 00:35:32 +0000
Subject: magic_quotes_gpc and \
Groups: php.general 
Request: Send a blank email to php-general+get-165678@lists.php.net to get a copy of this message
O.K. I'll try again from a different angle. magic_quotes_gpc = on. If I have a form that POSTS a textarea that contains PHP code. Say some code that contains legitimate escapes \ like: echo "<a href=\"http://somewhere.com\">Click</a>"; When the data is posted and received in the destination script, additional escapes \ are added. So how do I get to the original code above? strip_slashes will strip all slashes, even the original ones that are supposed to be there. Thanks! -Shawn

« previous php.general (#165678) next »