httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Medvedev" <medve...@rsdsoft.msk.ru>
Subject Re: How to limit form submission -HELP!
Date Wed, 19 Jun 2002 10:39:59 GMT
Well, you can use sessions to track users. On the data the session provide
you can make a decision whether the current client POST request should be
processed.
There is another, though not so brilliant, a solution: you can disable the
submit button immediately after the client request has been posted.


----- Original Message -----
From: "j dahlb├Ąck" <snosk2@hotmail.com>
To: <users@httpd.apache.org>
Sent: Wednesday, June 19, 2002 1:34 PM
Subject: How to limit form submission -HELP!


>
> I dont know weather this is a html/php problem but when the form submit
> button is pushed
> several times ,the php script it is pointing to is executed equal
times.This
> results in a mail that
> is sent out several times aswell...
> I only want one mail sent ,meaning the php script handling the mail to be
> executed once,no mather
> how many times the submit button is pressed.
>
> PS.The Submit button is located in one php script and the "windows
sendmail"
> in another one...
> This is a line in a php script that points to the sendmail script
>
> <form enctype=multipart/form-data action=sendmail.php method=post>
>
> Thanks,
> J
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message