opposite of quotemeta ?
| From: | Matthew Croud | Date: | Thu, 29 Oct 2009 14:22:28 +0000 |
| Subject: | opposite of quotemeta ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-299501@lists.php.net to get a copy of this message | ||
Hi,
In my script I want the user to enter some html which is saved to a file,
I've noticed that php rather cleverly escapes the speech marks, so:
<a href="www.google.com">Google</a>
becomes:
<a href=\"www.google.com\">Google</a>
Is there some function which prevents or reverts this ? something similar to html_entities maybe?
Many thanks!
Matt