note 23287 added to function.header
| From: | eve_13x at yahoo dot com | Date: | Sun, 14 Jul 2002 15:10:21 +0000 |
| Subject: | note 23287 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-33050@lists.php.net to get a copy of this message | ||
Could somebody offer more information on how to pass $strings through a header call.
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?filename=".$filename);
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 on to the destination page, form or
script.
Eve 13
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+23287
http://master.php.net/manage/user-notes.php?action=delete+23287
http://master.php.net/manage/user-notes.php?action=reject+23287