note 13594 added to function.urlencode.php
| From: | arhat_23 at hotmail dot com | Date: | Fri, 22 Jun 2001 22:13:51 +0000 |
| Subject: | note 13594 added to function.urlencode.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14577@lists.php.net to get a copy of this message | ||
Looks like urlencode() doesn't encode the ' very well, as someone noted above. The query
string shows the proper %27, but the script itself translates ' to \' . Unless there is a
better work around, I've been using the stripslashes() function to get rid of the offending \ .
Anyone else seen this problem? (Note: Using php4)
http://www.php.net/manual/en/function.urlencode.php