RE: [PHP] Form duplicate post problem

From: Date: Sun, 29 Dec 2002 19:16:45 +0000
Subject: RE: [PHP] Form duplicate post problem
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-129601@lists.php.net to get a copy of this message
2 ways around that.. make sure you send that before any other ouput... Even empty lines etc.... In other words nothing before <?php and nothing after ?> Not ever a carriage return. or start of with ob_start() and end with ob_end_flush(); *********** REPLY SEPARATOR *********** On 29/12/2002 at 7:12 PM Pag wrote: >> >>Yeah, you should be using a header() redirect, not a javascript or META >>REFRESH redirect... > > Well, i tried, but i get an error saying that all the headers >were >already sent to the browser. :-P > I used: > > header('Location: http://www.blahblah.com > etc'); > > > I placed this header right after all the database writes. > > Pag > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#129601) next »