Re: Parse URL parameters

From: Date: Fri, 06 Jul 2001 00:37:46 +0000
Subject: Re: Parse URL parameters
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-56414@lists.php.net to get a copy of this message
Hi Gyozo! On Thu, 05 Jul 2001, Gyozo Papp wrote: > Hi, > > read the manual - urldecode(). > the script from those page: > > $a = split ('&', $QUERY_STRING); > $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++; > } > erm, how about parse_str() ? -- teodor

« previous php.general (#56414) next »