Re: TextArea vs. URLEncode/URLDecode/quotes
| From: | Kevin Stone | Date: | Wed, 09 Jul 2003 19:17:01 +0000 |
| Subject: | Re: TextArea vs. URLEncode/URLDecode/quotes | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-154618@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Arcadius A." <ahouans@sh.cvut.cz>
To: <php-general@lists.php.net>
Sent: Wednesday, July 09, 2003 12:50 PM
Subject: [PHP] TextArea vs. URLEncode/URLDecode/quotes
(snip)
> So, My question is: What's the best way to get the value of a textarea
back
> after validation without using session?
>
> Thanks.
>
> Arcadius Ahouansou.
Try htmlspecialchars() or htmlentities() to convert quotes and other non-url
friendly characters..
http://www.php.net/manual/en/function.htmlspecialchars.php
http://www.php.net/manual/en/function.htmlentities.php
- Kevin