Re: [PHP] Ensuring that Form is only submitted once (session vars?)

2001-12-21 Thread Steven Cayford
Your first reference to a session (usually session_start()) must come before any html is sent to the browser. A common problem is to have some white space before the tag in a preceding file. You can set up something like what you're working on using session variables. Create random numbers an

[PHP] Ensuring that Form is only submitted once (session vars?)

2001-12-21 Thread Andrew V. Romero
I was wondering if there is a way to ensure that a form is only submitted once. I have a script that saves a lot of information to the disk and if the user uses the back button and then resubmits the form, it will cause major problems. I jave looked into using javascript to fix this, but it does