Redirect browser to another URL?

From: Date: Tue, 26 Nov 2002 22:42:39 +0000
Subject: Redirect browser to another URL?
Groups: php.windows 
Request: Send a blank email to php-windows+get-17153@lists.php.net to get a copy of this message
Hello, Anyone know how to have a script re-direct the browser to a URL cleanly? I've tried using header("location:" . $url); but I'm running into a problem with a server error saying header data was already sent from "some line in the script that was running" as if the new url is being opened after a header has already been sent. All I want to do is have the script stop it's execution and open another page. Any ideas? j-

« previous php.windows (#17153) next »