RE: [PHP] $_POST in header

2008-11-18 Thread Jay Blanchard
[snip] i have a PHP page with a form. when user click on submit button, it sends form data to itself (so it sends data $_POST to itself). i would like to access to header itself to reset those $_POST data to avoid (in case of F5 under windows system) to resend the same data serveral time.

Re: [PHP] $_POST in header

2008-11-18 Thread Craige Leeder
Hi Alain, In short, you can't. It's the users computer that remembers what headers it sent last time, and when you refresh, it WILL ask them to send those headers again. The way this is typically handled from a programming perspective is to do all your processing on one page, and then jump