hi,
i used this function . i got http protocal address
[code=php]echo $_SERVER['REMOTE_ADDR']; [/code]
i used this function . i got the DNS server ip address.
[code=php]
$domain = GetHostByName($ REMOTE_ADDR);
echo $domain;
[/code]
But i want the server ip address like 219.91.199.136. how write the php function .plz tell that.
i used this function . i got http protocal address
[code=php]echo $_SERVER['REMOTE_ADDR']; [/code]
i used this function . i got the DNS server ip address.
[code=php]
$domain = GetHostByName($ REMOTE_ADDR);
echo $domain;
[/code]
But i want the server ip address like 219.91.199.136. how write the php function .plz tell that.
Comment