|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
spamming in forms
hey guys,
how can I prevent spamming in forms? any suggestions? cu alex |
|
#2
|
|||
|
|||
|
RE: spamming in forms
When someone submits the form add his/her IP address to a database table. Then everytime someone submits it, check whether the current IP exists in the table. If it is there, then don't allow him to submit it....
This will work well when it is a statis IP. |
|
#3
|
|||
|
|||
|
RE: spamming in forms
Another way I have seen is to require the user to enter a code that is generated on the fly (random number or code of some sort) before accepting the form submission. when the form is displayed, build the code on the fly and then require the user to input that code into a form field before submitting the code. just a thought...
|
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > spamming in forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|