Re: Re: Headers, JavaScript & PHP

From: Date: Thu, 11 Oct 2001 13:32:41 +0000
Subject: Re: Re: Headers, JavaScript & PHP
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70797@lists.php.net to get a copy of this message
> I know, but this page stays in browser history, so > clicking 'back' button submits the form again. try this, if ($REQUEST_METHOD=='POST'){ header('Expires: ' . gmdate("D, d M Y H:i:s", time()+1000) . ' GMT'); header('Cache-Control: Private'); } py ----- Original Message ----- From: "Kamil Nowicki" <hilarion@elfin.pl> To: "PHP-list" <php-general@lists.php.net> Sent: Thursday, October 11, 2001 8:40 AM Subject: Re: [PHP] Re: Headers, JavaScript & PHP > > From: "_lallous" <elias_bachaalany@yahoo.com> > > > > If you want to autopost you can use this javascript: > > > > <script> > > form1.submit(); > > </script> > I know, but this page stays in browser history, so > clicking 'back' button submits the form again. > > > K'H'N > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#70797) next »