note 22086 added to function.parse-str
| From: | steve at immortalcurse dot com | Date: | Thu, 06 Jun 2002 04:56:01 +0000 |
| Subject: | note 22086 added to function.parse-str | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-31518@lists.php.net to get a copy of this message | ||
If the string begins with a '?' (separator for filename and query in a URL) then the first
variable will not be parsed properly.
Eg:
parse_str("?blah=blah");
Will not produce a variable called $blah. To get round this bug make sure you delete the ? character
before parsing.
--
http://www.php.net/manual/en/function.parse-str.php
http://master.php.net/manage/user-notes.php?action=edit+22086
http://master.php.net/manage/user-notes.php?action=delete+22086
http://master.php.net/manage/user-notes.php?action=reject+22086