note 31952 deleted from function.header by sniper
| From: | sniper@php.net | Date: | Sun, 07 Sep 2003 21:43:18 +0000 |
| Subject: | note 31952 deleted from function.header by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-55649@lists.php.net to get a copy of this message | ||
Note Submitter: hbrindis@example.com
----
mikep's tip above fixes well the 'document contain no data' bug for Netscape, but
only if you want to redirect to a plain URL. If you want to pass variables to a script within
header( ), you can add an '&' before the '/':
$Url = "Location: http://myserver.com/admin/index.php?var=".$var."&/";
header($Url);
..this way index.php can parse $var properly.
P.S. If you concatenate too much variables within the header(), it may not get the last ones, so
it's better to do it outside the function.