|
Author |
Message |
Iyonix
WebHelper


Joined: 12 Nov 2002
Posts: 82
Location: Yarm, England
|
Posted:
Sat Dec 07, 2002 10:26 am (22 years, 4 months ago) |
  |
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. |
|
|
    |
 |
Daniel
Team Member


Joined: 06 Jan 2002
Posts: 2564
|
Posted:
Sat Dec 07, 2002 10:58 am (22 years, 4 months ago) |
  |
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...  |
________________________________
 |
|
    |
 |
jayant
Team Member


Joined: 07 Jan 2002
Posts: 262
Location: New Delhi, India
|
Posted:
Sat Dec 07, 2002 12:13 pm (22 years, 4 months ago) |
  |
|
       |
 |
|
|
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.129311 seconds :: 18 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |