How to ASP style Response.Redirect

From: Date: Tue, 03 Oct 2000 01:04:48 +0000
Subject: How to ASP style Response.Redirect
Groups: php.general 
Request: Send a blank email to php-general+get-18337@lists.php.net to get a copy of this message
Is there a way to do an ASP style response.redirect from within a PHP script. I know I can use header("Location: somepage.html"); but it gives the error headers have already been sent unless I put the above line at the beginning of the page. PHP seems pretty cool I'm surprised I can't find a way just to do a redirect as my script is running. Thanks, Ian

« previous php.general (#18337) next »