Jump to content

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


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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.