note 48316 deleted from function.urlencode by tularis
| From: | tularis@php.net | Date: | Sun, 19 Dec 2004 09:37:06 +0000 |
| Subject: | note 48316 deleted from function.urlencode by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-82014@lists.php.net to get a copy of this message | ||
Note Submitter: phpguy at paladin-pc dot com
----
I think elqabbany missed the point of wrapping urlencode inside htmlentities. When you replace the
$str in his code with something a little more likely to be on the query string of a URL, it makes
more sense. Try running his same test using:
$str="x=1&y=2";
You will see that it is the ampersand symbol itself that "breaks" the test.
----
Reason: useless note