user862010
user862010

Reputation:

IP Filter with PHP

I was looking for a way to create an IP filter, so that I could easily identify customers, but many examples I saw, I could not understand in a way.

Then, I come here with some questions A customer enters my site, IP x recovered from $_SERVER ['REMOTE_ADDR'], but I've been reading some things about CRID, which is one way to check if this IP is on the list denied, because obviously 90% of customers accessing the site, when you restart the modem IP is changed, I do not know if I'm talking nonsense, but a good idea to create an IP filter?

Upvotes: 2

Views: 720

Answers (1)

mirza
mirza

Reputation: 5793

You should combine multiple factors such as sessions, cookies and ip filters.

But of course users still be able to clear cookies and sessions.

You may try to get mac-id of user's pc or computer but it is complicated and dunno it is useful or not and also user still can change mac-id but it's not an easy thing to do.

Upvotes: 1

Related Questions