Use headers as suggested or use javascript if you want to be able to notify
the user about the redirection.


Robert MacCombe wrote:

> Hi, how do I redirect to a different URL, e.g. as a result of an IF
> condition being true. I'm basically looking for a PHP version of the ASP -
> Response.Redirect("/otherpage.htm")

PHP General Mailing List (
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to