well, there is several ways you could implement.
The easiest way is probably to use a hidden input tag with a value, like this:
<INPUT type="hidden" name="attempt" value="1">
Then make your script check if that value is greater then 1, if yes, don't process the form, e.g.:
<?PHP
if($attempt > 1){
print 'you already submitted!';
exit;
}
...
or, you could do the same thing using a cookie, check out the manual pages how to do and use that :-)
or, if it should be tougher for the user to "hack", you could have your script get the users remote address, which is in
HTTP_SERVER_VARS['REMOTE_ADDR']
, submit this value into a database, and have your script check if the ip remote address already exists before processing...
hope that helps,
cheers,
DrTebi