On Wednesday 04 August 2004 03:41, Bing Du wrote: > ========== > 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; > } > ========== > > Am I doing anything wrong with the Location header?
It looks OK. > Any help would be greatly appreciated. Add an else cause: else { echo "if clause failed"; } -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The reason why worry kills more people than work is that more people worry than work. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php