PHP Redirect / header("location: ")

From: Date: Fri, 09 Nov 2001 09:01:10 +0000
Subject: PHP Redirect / header("location: ")
Groups: php.general 
Request: Send a blank email to php-general+get-74007@lists.php.net to get a copy of this message
I am trying to set up a redirect scirpt that in ASP was response.redirect(escape("newpage.asp")). I tried in PHP >> header("location: newpage.php") but all i got was an error message saying that my header content had already been sent. This PHP script was above the html script. Am I doing something wrong? Thank you.

« previous php.general (#74007) next »