hey, I'm using many forms to let visitor add stuff to my site... I use the php_self fonction to handle everything in a single script. This causes me a major problem. If user REFRESH the page rigth after he submitted his information, it also resend the information... What can i do to make sure its only sent once?!?!?
P.S. Dont tell me to use POST method, it does the same crap except it warned before refreshing....
I'm pretty sure sure there's an easy way to do that but i have no idea. PLZ HELP!
After you do your adding use header("Location: ".$PHP_SELF."?nc=".time());
This will reload the current page with the unixtimestamp added onto the end of it and then you will be in the clear.