RE: [PHP] Using @file
| From: | Darren Gamble | Date: | Mon, 10 Dec 2001 20:19:26 +0000 |
| Subject: | RE: [PHP] Using @file | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77231@lists.php.net to get a copy of this message | ||
Good day,
The error means that it can not resolve the name.
Replace the comma in the name with a period.
============================
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-----Original Message-----
From: Jeff Lewis [mailto:jeff@hyrum.net]
Sent: Monday, December 10, 2001 1:24 PM
To: php-general@lists.php.net
Subject: [PHP] Using @file
I am using this line in part of my code but am getting an error that looks
like below:
Code:
$serverDetails =
@file("http://www.myserver,com/versions.php?l=$scripturl&v=$version");
Error:
2: php_network_getaddresses: gethostbyname failed
(c:\inetpub\wwwroot\yabbse\Sources\Admin.php ln 43)
What would be causing this error? It works on some machines but not others?
Jeff