Re: Problems using readfile!

From: Date: Thu, 08 Jun 2000 18:27:12 +0000
Subject: Re: Problems using readfile!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1318@lists.php.net to get a copy of this message
Hi, It looks there is a problem with the url.. I think you should check your url and connection. Because, when function "file" can not find, or connect to the host, php gives this error message. regards erol fernando.silva@netzero.pt wrote: > Oi! > I'm trying to use readfile but the result is this wierd error: > > Warning: readfile("http://somepage") - No error in > c:\html\anuncios.php on line > 7 > > My script is very simple (anuncios.php): > > <?php > > readfile("http://sa07.link.pt/cgi-bin/ncommmerce3/ExecMacro/vmall/anuncios.d2w/report?produtos=novos"); > > ?> > > I'm trying to get some HTML code from that page to use im my page... > I'm using PHP4 with apache 1.3.12 in Windows NT sp 4. I now that exists one > list only for windows but i'm trying to get as many feedback as I can. > > Thanks in advanced, > Fernando Silva > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#1318) next »