RE: [PHP] server side redirects

From: Date: Thu, 04 Mar 2004 00:48:51 +0000
Subject: RE: [PHP] server side redirects
Groups: php.general 
Request: Send a blank email to php-general+get-179399@lists.php.net to get a copy of this message
matthew oatham <mailto:m.oatham@ntlworld.com> on Wednesday, March 03, 2004 4:25 PM said: > is there a more elegant way to deal with my > situation? Is this method supported by all browsers etc.. 1. don't output anything before a redirect. i figure, if a redirect is going to happen there's really no reason to output anything. 2. out output buffering. put ob_start(); as the very first line in your page. i prefer method 1 because method 2 requires more memory on the server's part. hth, chris.

« previous php.general (#179399) next »