ip2long

PHP 4, PHP 5, PHP 7, PHP 8
ip2long - Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer
Ip2long Online Tool
Manual
Code Examples

Example #1 ip2long Example

PHP Version:

Example #2 Displaying an IP address

PHP Version:


Example #3 of ip2long

PHP Version: