Re: More of an HTML question I think.. Whoops!

From: Date: Mon, 31 Jul 2000 00:15:58 +0000
Subject: Re: More of an HTML question I think.. Whoops!
Groups: php.general 
Request: Send a blank email to php-general+get-9083@lists.php.net to get a copy of this message
OK, I should think while I type, not after: Correction: (2) Instead of using $QUERY_STRING, you could reconstruct the data by walking the $HTTP_GET_VARS array: unset($TempArray); reset($HTTP_GET_VARS); while (list($Name,$Val) = each($HTTP_GET_VARS)) { $TempArray[] = $Name.'='.urlencode($Val); # CORRECTED! } $MyQueryString = implode('&', $TempArray); $Url = $SERVER_URL.$SCRIPT_NAME.'?'.$MyQueryString; <SNIP> Just go back and insert the fixed line into my previous email ;P -steve +--- "They've got a cherry pie there, that'll kill ya" ------------------+
| Steve Edberg                           University of California, Davis |
| sbedberg@ucdavis.edu                               Computer Consultant |
| http://aesric.ucdavis.edu/                  http://pgfsun.ucdavis.edu/ |
+-------------------------------------- FBI Special Agent Dale Cooper ---+

« previous php.general (#9083) next »