(PHP 4 >= 4.0RC1)
ip2long -- Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address.The function ip2long() generates an IPv4 Internet network address from its Internet standard format (dotted string) representation.
This second example shows how to print a converted address with the printf() function :
See also: long2ip()
HIVE: All information for read only. Please respect copyright! |