Re: [PHP] hrm...only hit submit once

2001-02-27 Thread Chris Lee
\n"; echo "You can only press submit once \n"; exit(); } else { echo "b \n"; $done = $PHP_SELF; session_register('done'); } // do some code echo " "; ?> try this, this allows you to load the page, press submit once, and not again. -- Chris Lee Mediawaveonli

[PHP] hrm...only hit submit once

2001-02-27 Thread Kurth Bemis
i have a form set that my users can fill out thier information. at the end of the process the results are mailed to an email address. then only problem is that reloads the page the mail is send again. this can be a problem...any ideas on how to prevent it?? ~kurth -- PHP General Mailing L