Sorry. It seems I need to sleep more ;)
| From: | S�bastien Th�ler | Date: | Fri, 01 Feb 2002 14:46:20 +0000 |
| Subject: | Sorry. It seems I need to sleep more ;) | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-11770@lists.php.net to get a copy of this message | ||
Woops, sorry! I didn't even notice that ;)
My problem is concerning gethostbyname() function. The PHP manual (French
version ;) states that function "returns IP address of host".
So I tried the following :
$adresse = gethostbyname("http://www.blizzard.com");
to get the IP address of http://www.blizzard.com in $adresse.
The funny thing is that $adresse contains 'http://www.blizzard.com' !
Anyone could help ?
-Sébastien