Jump to content

[SOLVED] IP tracking via comment (To deal with spammers)


MySQL_Narb

Recommended Posts

Is there anyway I can get someones IP when they click submit on one of my forms, it's a comment page and I don't want spammers. I have some moderators, but I want them to be able to do stuff. I can store the IP in my database, but I want to know how do I get the IP from users?

 

Does anyone have any scripts, or tutorials? Thanks, and I really appreciate the help.

 

(I'm sorry I've been posting so many help threads, I'm working on a script of mine and I want it to be perfect, and see if their are some different ways to do things.)

(I'm sorry I've been posting so many help threads, I'm working on a script of mine and I want it to be perfect

 

But this is your first post? And there is no such thing as perfect code.

 

Take a look within the $_SERVER array for a clients ip address.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.