RE: [PHP] problem with rewind 2

From: Date: Thu, 11 Jan 2001 20:36:07 +0000
Subject: RE: [PHP] problem with rewind 2
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-34092@lists.php.net to get a copy of this message
Jorge Inti Benites RocheThe manual says: " The file pointer must be valid, and must point to a file successfully opened by fopen(). " "file" not "url". P.S.: please no HTML-mails. -----Original Message----- From: Jorge Inti Benites Roche [mailto:intiroch@impsat1.com.ar] Sent: Tuesday, January 11, 2000 8:34 PM To: php-general@lists.php.net Subject: [PHP] problem with rewind 2 Hi! I try use this code, but not work $file = fopen ("http://ultra10:9000/cgi-bin/query?mss=search" , "r"); if (!$file) { echo "<p>Unable to open remote file.\n"; exit; "rewind($file);" This is the error mesagge: "Warning: Unable to find file identifier 1 in /www/radar/busca.php3 " Why?? Thank you Telecom Internet Jorge Inti Benites Roche Tel: +54 (11)4968-6106 Gcia. Web Services

« previous php.general (#34092) next »