| getservbyport <<< |
ip2long | long2ip >>> |
6.66 Réseau 6 Index des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes Prédefinies . checkdnsrr . closelog . debugger_off . debugger_on . define_syslog_variables . dns_check_record . dns_get_mx . dns_get_record . fsockopen . gethostbyaddr . gethostbyname . gethostbynamel . getmxrr . getprotobyname . getprotobynumber . getservbyname . getservbyport ->ip2long . long2ip . openlog . pfsockopen . socket_get_status . socket_set_blocking . socket_set_timeout . syslog |
6.66.24 ip2long() Convertit une chaîne contenant une adresse (IPv4) IP numérique en adresse littérale.[ Exemples avec ip2long ] PHP 4 int ip2long ( string ip_address )ip2long génère une adresse IPv4 à partir de son équivalent numérique.
Ce second exemple montre comment afficher une adresse convertie à l'aide de la fonction printf :
Voir aussi long2ip |
| << | ip2long | >> |
| getservbyport | Réseau | long2ip |