Re: Location header does not work?
| From: | Nadim Attari | Date: | Wed, 04 Aug 2004 06:37:34 +0000 |
| Subject: | Re: Location header does not work? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-192674@lists.php.net to get a copy of this message | ||
just suggesting... try this:
if ($option == 'content' and $task == 'view' and $id == 159 and $Itemid ==
162)
{
session_write_close();
header("Refresh:0;
url=https://computing.eng.iastate.edu/mambo/index.php?option=content&task=vi
ew&id=159&Itemid=162");
exit;
}
let us know whether it works...
If it doesn't, try javascript window.location()
> if ($option == 'content' and $task == 'view' and $id == 159 and $Itemid ==
> 162)
> {
> session_write_close();
> header("Location:
>
https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&id=159&Itemid=162");
> exit;
> }