ip-address

/Tag: ip-address

PHP get clients IP Address (Whats My IP Address)

By |2014-01-05T10:26:23+00:00March 8th, 2012|Code, PHP|

Just a simple function to get someones IP, I know most people have a one liner for this, problem with that I found is sometimes you get invalid and or empty results. My little function aims to work around the common issues that may cause an IP to come back wrong and get it regardless. [...]