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:[EMAIL PROTECTED]]
  Sent: Tuesday, January 11, 2000 8:34 PM
  To: [EMAIL PROTECTED]
  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

Reply via email to