Redirection troubles...

From: Date: Mon, 28 Aug 2000 02:13:39 +0000
Subject: Redirection troubles...
Groups: php.general 
Request: Send a blank email to php-general+get-13884@lists.php.net to get a copy of this message
I'm very new to PHP (~2 days), so bear with me... I'm trying to redirect one php page to another using the following syntax: header("Location: http://www.php.net"); The problem is that I can't write new header info when the headers have already been sent. My question is this. How do I buffer the dynamic php page so that the server sends it to the client only when I tell it to, or when the script finishes. I am an ASP/Windoze programmer by trade so this is all new to me: am I missing something intrinsic to the operation of Apache/PHP that I would not be aware of as a Wnidoze programmer? Thanks in advance -- Vince Horst

« previous php.general (#13884) next »