Re: Using @file
| From: | Jeff Lewis | Date: | Mon, 10 Dec 2001 20:50:29 +0000 |
| Subject: | Re: Using @file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77234@lists.php.net to get a copy of this message | ||
Again, this works on some servers and othes not. Does IIS support this
particular function?
Jeff
----- Original Message -----
From: "Darren Gamble" <Darren.Gamble@sjrb.ca>
To: "'Jeff Lewis'" <jeff@hyrum.net>; <php-general@lists.php.net>
Sent: Monday, December 10, 2001 3:32 PM
Subject: RE: [PHP] Using @file
> Good day,
>
> Again, this error means that the server can not resolve a name.
>
> Please ensure that the name www.myserver.com can be DNS resolved. Please
> contact your DNS administrator if it can not.
>
> -----Original Message-----
> From: Jeff Lewis [mailto:jeff@hyrum.net]
> Sent: Monday, December 10, 2001 1:32 PM
> To: Darren Gamble; php-general@lists.php.net
> Subject: Re: [PHP] Using @file
>
>
> Sorry that was a typo, it is a period, I mistyped into the email. If it
> cant resolve the name, what would cause that problem?
>
> Jeff
> ----- Original Message -----
> From: "Darren Gamble" <Darren.Gamble@sjrb.ca>
> To: "'Jeff Lewis'" <jeff@hyrum.net>;
> <php-general@lists.php.net>
> Sent: Monday, December 10, 2001 3:19 PM
> Subject: RE: [PHP] Using @file
>
>
> > Good day,
> >
> > The error means that it can not resolve the name.
> >
> > Replace the comma in the name with a period.
> >
> > -----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
> >
> >
>
>