Mujahid <[EMAIL PROTECTED]> said:

> How do we redirect a user from a PHP page to another ?
> In ASP I would do a Response.Redirect.
> What is the equalent function in PHP ?
> 
header()

header("Location: http://www.something.com/somewhere/");

Note that header() has to be used before anything is output to the browser.

Welcome to PHP.

adam

-- 
PHP Windows Mailing List (http://www.php.net/)
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