Location header requires full uri (at least that's what is in the rfc):
header("Location: http://www.server.com/wherever.php";); exit();
Jay Blanchard wrote:
[snip]
I would like to know how to do a simple redirect from a php page.
[/snip]
Look up 'header' on php.net
header("Location: wherever.php"
[snip]
I would like to know how to do a simple redirect from a php page.
[/snip]
Look up 'header' on php.net
header("Location: wherever.php"); exit();
HTH!
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Obviously relatively new to php
I would like to know how to do a simple redirect from a php page.
For example in ASP I do response.redirect("thispage.com")
Want to do the same thing in php.
I have tried to go through the documentation, but can't seem to get focused on the
proper and si
3 matches
Mail list logo