Date: 04/22/98
- Next message: mark <email protected>: "[PHP-DEV] Bug #304: In the FAQ, newlines are sometimes missing the \"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Bug #300: popen, when in safe mode, fails if you use a command with parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: mark <email protected>
Operating system: n/a
PHP version: 3.0 Release Candidate 4
PHP Bug Type: Documentation problem
Bug description:
In http://www.php.net/distributions/bigmanual.html
there is a section which describes how to break up
a query string. It looks like this:
$a = split ('&', $querystring);
$i = 0;
while ($i < count ($a)) {
$b = split ('=', $a [$i]);
echo 'Value for parameter ', htmlspecialchars (urldecode ($b [0])),
' is ', htmlspecialchars (urldecode ($b [1])), "<BR>";
$i++;
}
This won't work (I discovered after much head banging)
unless you change $querystring to $QUERYSTRING.
mark
- Next message: mark <email protected>: "[PHP-DEV] Bug #304: In the FAQ, newlines are sometimes missing the \"
- Previous message: Zeev Suraski: "Re: [PHP-DEV] Bug #300: popen, when in safe mode, fails if you use a command with parameters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

