|
Posted by Justin Koivisto on 03/23/06 18:59
Treefrog wrote:
>
> As a rough
> rule, you wont need to use the header() function until you're fairly
> advanced with PHP, with possibly the exception of header("Location:
> anotherpage.htm"); that which redirects the browser to anotherpage.
When you use the location header, it should be a full URL, not a
relative URI. Also, you should follow the location header with a call to
exit (or die).
header('Location: http://example.com/anotherpage.html');
exit;
--
Justin Koivisto, ZCE - justin@koivi.com
http://koivi.com
Navigation:
[Reply to this message]
|