pennytrader Posted August 11, 2008 Share Posted August 11, 2008 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: www.pbmumbai.com php file. http://www.pbmumbai.com/process.zip Link to comment https://forums.phpfreaks.com/topic/119123-phpformgenerator-adding-cookies-help/ Share on other sites More sharing options...
pennytrader Posted August 11, 2008 Author Share Posted August 11, 2008 if not the cookies, can anyone give me a code i could use to capture their ip, and store it in the mysql db? Link to comment https://forums.phpfreaks.com/topic/119123-phpformgenerator-adding-cookies-help/#findComment-613385 Share on other sites More sharing options...
waynew Posted August 11, 2008 Share Posted August 11, 2008 $ip = $_SERVER['REMOTE_ADDR']; Link to comment https://forums.phpfreaks.com/topic/119123-phpformgenerator-adding-cookies-help/#findComment-613398 Share on other sites More sharing options...
pennytrader Posted August 11, 2008 Author Share Posted August 11, 2008 hi. thnx for ur reply. do i need to add anything to the mysql database? Link to comment https://forums.phpfreaks.com/topic/119123-phpformgenerator-adding-cookies-help/#findComment-613399 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.