> 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.
How about doing an ereg_replace on '\\' to '\'? Kirk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php