note 22086 deleted from function.parse-str by tomsommer
| From: | tomsommer@php.net | Date: | Tue, 24 Aug 2004 20:13:46 +0000 |
| Subject: | note 22086 deleted from function.parse-str by tomsommer | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-75219@lists.php.net to get a copy of this message | ||
Note Submitter: steve at immortalcurse dot com
----
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.