Error while trying to open an URL with fopen...

From: Date: Tue, 15 Feb 2000 22:20:26 +0000
Subject: Error while trying to open an URL with fopen...
Groups: php.dev 
Request: Send a blank email to php-dev+get-15552@lists.php.net to get a copy of this message
First: Sorry. My english is very poor. Second: I get this Error while i try to open an URL: Warning: Invalid URL specified, http://www.php.net in /test/index.php3 on line 5 The code is this: $fd = fopen("http://www.php.net", "r"); if($fd) { while (!feof($fd)) { $buffer = fgets($fd, 4096); echo $buffer; } fclose($fd); } Note: I am behind a Proxy Server. Could this affect? PLEASE...help ********************************************** * Patricio Mansilla Caro * ********************************************** ----------------------------------------------------- Mensaje enviado por VTR Super Mail http://supermail.vtr.net Aun mas facil y practico para revisar tus casillas de correo

« previous php.dev (#15552) next »