Backend Development

IPLogger PHP

Submitted by bol, , Thread ID: 195345

Thread Closed

RE: IPLogger PHP

#2
Do not use $_SERVER['REMOTE_ADDR'], for example if someone is using Chrome for Android's "Lite Mode" you'll get Google's proxy IP address -- have a look at the $_SERVER['HTTP_X_FORWARDED_FOR'] if it exists (but do not forget to filter/escape it).

Users browsing this thread: 1 Guest(s)