header location syntax to pass string values to the destination
| From: | Emily WILD | Date: | Sun, 14 Jul 2002 15:22:28 +0000 |
| Subject: | header location syntax to pass string values to the destination | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969347276@lists.php.net to get a copy of this message | ||
Could somebody offer more information on how to pass
$strings through a header function?
In the script I am working on, it is a simple file
upload form handled by a PHP script where after the
file upload is verified, the user is sent to a success
page that should idealy include use of 3 strings
($uploadfile_name, $uploadfile_type and
$uploadfile_size).
The example I was given by some users of EFNET IRC's
#php channel was as follows...
header("Location:
success.php?uploadfile_name=".$uploadfile_name);
However, I could not find any description of the
syntax structure to be used in the URL of a header
function to include a string or multiple strings to be
passed to the location destination page or script.
Emily
__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com