urlencode and decode are producing \\\' instead of \'
| From: | andy | Date: | Fri, 29 Mar 2002 09:28:44 +0000 |
| Subject: | urlencode and decode are producing \\\' instead of \' | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90650@lists.php.net to get a copy of this message | ||
Hi there,
I am trying to fill a form again when an error occures, therefore I redirect
to the form and pass the values via url like this:
HEADER("Location:/profiles/6".$recipient_id."2.html?subject=".rawurlencode($
subject)."&message=".rawurlencode($message)."");
then I put it in again like this
<textarea name="message" rows="10" style="width:485px;"
cols="58"
wrap="virtual">'.rawurldecode($message).'</textarea>
The problem is, that this is causing a message like this:
test \\\'
So what's wrong? Can anybody help on this?
Thank you,
Andy