KRISTOFFER BOHMANN
[BETA]
Forside
Om KB
Kompetencer
Referencer
Network
checkdnsrr
closelog
define_syslog_variables
dns_check_record
dns_get_mx
dns_get_record
fsockopen
gethostbyaddr
gethostbyname
gethostbynamel
gethostname
getmxrr
getprotobyname
getprotobynumber
getservbyname
getservbyport
header
headers_list
headers_sent
header_remove
inet_ntop
inet_pton
ip2long
long2ip
openlog
pfsockopen
setcookie
setrawcookie
socket_get_status
socket_set_blocking
socket_set_timeout
syslog
Home
>
PHP
>
Function
>
Network
>
long2ip()
long2ip()
long2ip - Converts an (IPv4) Internet network address into a string in Internet standard dotted format
Syntax
string
long2ip
(
string
$proper_address)
Arguments
proper_address - A proper address representation.
Description
The function long2ip() generates an Internet address in dotted format (i.e.: aaa.bbb.ccc.ddd) from the proper address representation.
Version
PHP 4, 5
Return value
Returns the Internet IP address as a string.