[PHP-DEV] Re: [PHP] Re: WELCOME to php-general <<i>email protected</i>> email protected>",1); ?> From: Andreas Sartori (andy <email protected>)
Date: 09/14/01

<?php

include("http://141.201.80.2/home.htm");

?>

Warning: php_network_getaddresses: getaddrinfo failed: Name does not resolv
to supplied parameters; neither nodename nor servname were passed. in
/usr/INFO/web-docs/test.php on line 3

Warning: Failed opening 'http://141.201.80.2/home.htm' for inclusion
(include_path='.:/php/includes:/usr/INFO/web-docs/search:/usr/INFO/web-docs/classes')
in /usr/INFO/web-docs/test.php on line 3

At 02:44 14.09.2001 -0400, Sterling Hughes wrote:
>On Fri, 14 Sep 2001, Andreas Sartori wrote:
>
> > how do i have to configure php so that it resolves? the address and url is
> > existing :(
> >
>
> Its really a matter of configuring your underlying operating system
> to resolve that address, what does:
>
> ]$ host www.sb.ac.at
>
> give you? (Unix only, if you don't have host installed try dig or
> nslookup)
>
> -Sterling
>
> > -andy
> >
> >
> > At 02:14 14.09.2001 -0400, you wrote:
> > >On Thu, 13 Sep 2001 nate <email protected> wrote:
> > >
> > > > I'm not entirely positive but not sure if you can use the domain name
> > > in the
> > > > include.. in other words try:
> > > > <?php
> > > > include("home.htm");
> > > > ?>
> > > >
> > > > And you obviously cant include pages from other servers..
> > > >
> > >
> > > 1) yes, you can include pages from other servers
> > > 2) the error means that the domain name you are including from
> > > doesn't resolve to an ip address (more accurately an addrinfo
> > > structure).
> > >
> > > -Sterling
> > >
> > > > ----- Original Message -----
> > > > From: "Andreas Sartori" <andy <email protected>>
> > > > To: <php-general <email protected>>
> > > > Sent: Thursday, September 13, 2001 11:08 PM
> > > > Subject: [PHP] Re: WELCOME to php-general <email protected>
> > > >
> > > >
> > > > > i have a small problem.
> > > > >
> > > > > <?php
> > > > >
> > > > > include("http://www.sbg.ac.at/home.htm");
> > > > >
> > > > > ?>
> > > > >
> > > > >
> > > > > Warning: php_network_getaddresses: getaddrinfo failed: Name does not
> > > > resolv
> > > > > to supplied parameters; neither nodename nor servname were passed. in
> > > > > /usr/INFO/web-docs/test.php on line 3
> > > > >
> > > > > Warning: Failed opening 'http://www.sbg.ac.at/home.htm' for inclusion
> > > > >
> > > >
> > >
> (include_path='.:/php/includes:/usr/INFO/web-docs/unineu/search:/usr/INFO/we
> > > > b-docs/unineu/classes')
> > > > > in /usr/INFO/web-docs/test.php on line 3
> > > > >
> > > > >
> > > > >
> > > > > when using:
> > > > >
> > > > > <?php
> > > > >
> > > > > fopen("http://www.sbg.ac.at/home.htm", "r");
> > > > >
> > > > > ?>
> > > > >
> > > > > Warning: php_network_getaddresses: getaddrinfo failed: Name does not
> > > > resolv
> > > > > to supplied parameters; neither nodename nor servname were passed. in
> > > > > /usr/INFO/web-docs/test.php on line 3
> > > > >
> > > > > Warning: fopen("http://www.sbg.ac.at/home.htm","r") - Bad file
> number in
> > > > > /usr/INFO/web-docs/test.php on line 3
> > > > >
> > > > >
> > > > > please help me :)
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > >
> --------------------------------------------------------------------------
> > > > ------
> > > > > andreas sartori
> > > > hellbrunnerstrasse 34
> > > > > Datenbankadministration & unix support 5020
> salzburg,
> > > > austria
> > > > > zid - universitaet salzburg tel: +43
> (662)
> > > > > 8044-6731
> > > > > http://www.sbg.ac.at/zid/people/sartori/sartori.htm fax: +43
> (662)
> > > > 629842
> > > > >
> > >
> --------------------------------------------------------------------------
> > > > ------
> > > > >
> > >
> --------------------------------------------------------------------------
> > > > ------
> > > >
> > > >
> > > >
> > >
> > >
> > >--
> > >PHP General Mailing List (http://www.php.net/)
> > >To unsubscribe, e-mail: php-general-unsubscribe <email protected>
> > >For additional commands, e-mail: php-general-help <email protected>
> > >To contact the list administrators, e-mail: php-list-admin <email protected>
> >
> >
> --------------------------------------------------------------------------------
> > andreas
> sartori hellbrunnerstrasse 34
> > Datenbankadministration & unix support 5020 salzburg,
> austria
> > zid - universitaet salzburg tel: +43 (662)
> > 8044-6731
> > http://www.sbg.ac.at/zid/people/sartori/sartori.htm fax: +43 (662)
> 629842
> >
> --------------------------------------------------------------------------------
> >
> --------------------------------------------------------------------------------
> >

--------------------------------------------------------------------------------
  andreas sartori hellbrunnerstrasse 34
  Datenbankadministration & unix support 5020 salzburg, austria
  zid - universitaet salzburg tel: +43 (662)
8044-6731
  http://www.sbg.ac.at/zid/people/sartori/sartori.htm fax: +43 (662) 629842
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------