Re: addslashes against single and double quotes
| From: | Richard Lynch | Date: | Sat, 10 Mar 2001 02:34:54 +0000 |
| Subject: | Re: addslashes against single and double quotes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-43278@lists.php.net to get a copy of this message | ||
<input type='hidden' name='string' value=\"$string\">
This is the source of your problems.
Use HTMLEntities() or URLEncode() or something before you try to put your
string in that.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm