PHP function ip2long()
Availability in PHP 4.0
Converts a string containing an (IPv4) Internet Protocol dotted address into a proper address
Parameters
| Parameter | Data type | Default value | Note |
|---|---|---|---|
$ip_address |
string |
not | A standard format address. |
Return values
int
the IPv4 address or false if ip_address is invalid.