4WebHelp
 FAQ  •  Search  •  User Groups  •  Forum Admins  •  Smilies List  •  Statistics  •  Rules   •  Login   •  Register
Toggle Navigation Menu

 PHP: Form Mail
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic
Author Message
Iyonix
WebHelper
WebHelper


Joined: 12 Nov 2002
Posts: 82
Location: Yarm, England

PostPosted: Sat Dec 07, 2002 10:26 am (21 years, 4 months ago) Reply with QuoteBack to Top

I have created a form mail script that uses the mail() function to send me feedback off my site. I was wondering if anyone could tell me howto make it so that the same IP address can't send again with the form until 30seconds has expired. This is to prevent spamming.
OfflineView User's ProfileFind all posts by IyonixSend Personal Message
Daniel
Team Member



Joined: 06 Jan 2002
Posts: 2564

PostPosted: Sat Dec 07, 2002 10:58 am (21 years, 4 months ago) Reply with QuoteBack to Top

Well you'd have to log the IP of the person in a database or in a text file. However, none of this would be foolproof, as sometimes you won't be able to get the IP, or you'll get an IP for a cache... Confused

________________________________
Image
OfflineView User's ProfileFind all posts by DanielSend Personal Message
jayant
Team Member



Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India

PostPosted: Sat Dec 07, 2002 12:13 pm (21 years, 4 months ago) Reply with QuoteBack to Top

Apart from what Daniel suggested, try using the image thing. Ask the person to type in the code that is given in image generated dynamically each time. That way you can avoid robotic spamming Smile

________________________________
Jayant Kumar
Member of the 4WebHelp Team
Nibble Guru - Computing Queries Demystified
GZip/ Page Compression Test
OfflineView User's ProfileFind all posts by jayantSend Personal MessageVisit Poster's WebsiteYahoo MessengerMSN Messenger
Display posts from previous:      
Post New TopicReply to Topic
View Previous Topic Print this topic View Next Topic


 Jump to:   




You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot edit your posts in this forum.
You cannot delete your posts in this forum.
You cannot vote in polls in this forum.


Page generation time: 0.120467 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0 © 2001, 2002 phpBB Group :: Based on an FI Theme