Hello!

I'm trying to find out on which rank my side is at google automatically.
I'm trying the following code, but I get a strange error:

 $Url = "http://www.google.de/search?q=MySearchWord";; // Gives "Warning:
No error on line [where fopen is]"
 $Url = "http://www.google.de/";; // Works

 for ($i = 0; $i < 100; $i += 10)
 {   $fp = fopen($Url, "r");
  while($fp && !feof($fp))
  { $sLine .= fgets($fp, 4096);
  }
    ... do some further things with $sLine
  fclose($fp);
 }

How can I get more information about the error occuring? "Warning: No
error" is not much information...

Martin




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to