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..

----- Original Message -----
From: "Andreas Sartori" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 13, 2001 11:08 PM
Subject: [PHP] Re: WELCOME to [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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to