Re: How do we Redirect a page: Newbie

From: Date: Thu, 11 Jan 2001 21:30:42 +0000
Subject: Re: How do we Redirect a page: Newbie
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4934@lists.php.net to get a copy of this message
Mujahid <mwazir@vsnl.com> 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

« previous php.windows (#4934) next »