You are here: Re: Avoiding double-submissions with mail script « PHP Programming Language « IT news, forums, messages
Re: Avoiding double-submissions with mail script

Posted by xclarky on 02/01/06 22:47

Use sessions! You could either set a session as a static value and then
check whether it exists, if so do not allow the script to run,
basically a temporary (sessions, by default configuration, close on the
closure of all browser instances) spam solution OR create a session key
which contains the users last inputs, either the entire post array or
individual fields. You can thefore compare the form input with the
session data to determine if the data is duplicate. This concept will
only work if the session still exists of course.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация