note 98070 deleted from function.gethostbyname by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: fguaraldo at gmail dot com 

----

To get server IP in command line. I use this case windows server.
$ip= gethostbyname($_SERVER['USERDOMAIN']);
print $ip;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.