[BNM] PHP Question

Alan Braddish alan at webspoke.co.uk
Fri Feb 9 14:37:52 GMT 2007


Thanks Pete and Delarge, the problem seems to be happening in IE,

And, when I go to the thank you page, I do use the Header ("location")
command.

I think I might have to try using cookies, or the session to get around
this.

Alan

-----Original Message-----
From: bnmlist-bounces at brightonnewmedia.org
[mailto:bnmlist-bounces at brightonnewmedia.org] On Behalf Of Pete Dowdell
Sent: 09 February 2007 14:33
To: Brighton New Media
Subject: Re: [BNM] PHP Question

Alan Braddish wrote:
> Hi all,
>
> Got a problem with a PHP form.  When a user fills out the form, and clicks
> Submit, they are taken to a "thank you" page.  However, if the user clicks
> the browser's back button, they go back to the form, but all the form
field
> contents are blank, as if the page has reloaded?
>   

Try, once you are done processing the form, redirecting to a new page using
header("Location: thankyou.php");

Pete


-- 

BNM Subscribe/Unsubscribe:
http://lists.wessexnetworks.com/cgi-bin/mailman/options/bnmlist/
BNM info/archives:
http://www.brightonnewmedia.org/

BNM archive search:
http://www.roddis.org/bnm/search.php

BNM powered by Wessex Networks:
http://www.wessexnetworks.com




More information about the BNMlist mailing list. Powered by Wessex Networks