Re: Using @file

From: Date: Tue, 18 Dec 2001 17:38:19 +0000
Subject: Re: Using @file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-78100@lists.php.net to get a copy of this message
haha, I bet it cant resolve, and I doubt it works on other machines :) www.myserver,com www.myserver.com see the diff? ditch the comma and put a period in insted :) trust me it happens to the best of us. -- Chris Lee lee@mediawaveonline.com "Jeff Lewis" <jeff@hyrum.net> wrote in message news:013901c181b8$a4acd400$76a1a8c0@LEWISJCIT... 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

« previous php.general (#78100) next »