note 98070 deleted from function.gethostbyname by danbrown
| From: | danbrown@php.net | Date: | Mon, 24 May 2010 14:21:51 +0000 |
| Subject: | note 98070 deleted from function.gethostbyname by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-169563@lists.php.net to get a copy of this message | ||
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;