Tagged: programming

Check private IP function PHP 4

Check private IP function PHP

Check if IPv4 address is from a private range. This function is very handy if you need to allow or stop people from submitting private address spaces into you application. It has many uses....

Hello World… 0

Hello World…

printf( "Hello %s, it's good to be %s", $planet->name, ($this->is_ipv6()) ? "::1" : "127.0.0.1" );