Hi

I try to get my local IP adress :

<?php 
$arrIp = gethostbynamel("localhost");
foreach ($arrIp as $ip)  {
    echo $ip."<br />";
}
?>

However I only get 127.0.0.1
But I want the "public" dynamic adress my ISP gave me, as shown by the
ipconfig windows command.

Thanks in advance
M
_________________________________________
Michael Delorme
41 bd de Brou
01000 Bourg-en-Bresse

tel/fax 04 74 23 26 10
mailto:[EMAIL PROTECTED]
_________________________________________

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to