capture ip in php form/add cookie to avoid multiple submit?
Posted: Mon Aug 11, 2008 6:20 am
HI, im using phpfprmgenerator to create an html form. the application was part of fantastico.
Anyway, i want to add a cookie which would allow the user to reply to the form only once. not more than than once.
The html and php files are attached as below. pls tell me what code i could use and where it needs to be inserted. Thanks a lot for your time.
html file: http://www.pbmumbai.com
php file. http://www.pbmumbai.com/process.zip
if not the cookies, can anyone give me a code i could use to capture their ip, and store it in the mysql db?
Anyway, i want to add a cookie which would allow the user to reply to the form only once. not more than than once.
The html and php files are attached as below. pls tell me what code i could use and where it needs to be inserted. Thanks a lot for your time.
html file: http://www.pbmumbai.com
php file. http://www.pbmumbai.com/process.zip
if not the cookies, can anyone give me a code i could use to capture their ip, and store it in the mysql db?