Jump to content

Recommended Posts

i want to save user ip when register directly to mysql table .

 

insert into table(ip) values ('$getenv(REMOTE_ADDR)')

 

is the ip coming from the user safe enough ? i don't know whether it can be change to something harmful or not .

should i validate that funcation first before inserting to sql ?

Link to comment
https://forums.phpfreaks.com/topic/84972-fast-ip-question/
Share on other sites

correct you can't ban someone by their ip becuse ISPs use whats called an IP pool they own ips

123.1.1.0 to 123.1.1.195 or what ever and everytime someone connections with their system they get assigned a free IP in the pool

so one day you might ban Joe Smith

but the next day its Margret brown's IP

Link to comment
https://forums.phpfreaks.com/topic/84972-fast-ip-question/#findComment-433335
Share on other sites

the idea of IP  , can work only to people with static ip address , huh?

 

i want to ban some people , but if they could come again with another account...

i know it is not that perfect, people "can" change their ip address through ip changing programs, non proxy sites ...

 

e-mail idea is good , but i guess most of people usually have more than 1 e-mail account . so they already have chances before givin up from making e-mail addresses.

 

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/84972-fast-ip-question/#findComment-433342
Share on other sites

use their email address eventually they will stop making email accounts

 

I don't know about that. I moderate for a forum where Russian spammers are creating accounts like crazy. I'm pretty sure they use bots for account creation, including the acquisition of new email accounts from gmail, yahoo, hotmail, etc. There are definitely some very sophisticated bots out there.

Link to comment
https://forums.phpfreaks.com/topic/84972-fast-ip-question/#findComment-433345
Share on other sites

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.