[PHP] Getting page with fopen

2002-04-25 Thread Martin Thoma
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 =

Re: [PHP] Getting page with fopen

2002-04-25 Thread Jason Wong
On Thursday 25 April 2002 16:39, Martin Thoma wrote: 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

Re: [PHP] Getting page with fopen

2002-04-25 Thread Martin Thoma
Google is probably trying to send you a cookie in which case you cannot use fopen. You need to use curl or snoopy(?). Thanx, that could be the problem. Unfortunatly, curl is not compiled in my php-version, and what is snoopy?! ;-) Any other ideas/examples? Martin -- PHP General Mailing

Re: [PHP] Getting page with fopen

2002-04-25 Thread heinisch
At 25.04.2002 11:01, you wrote: Google is probably trying to send you a cookie in which case you cannot use fopen. You need to use curl or snoopy(?). Thanx, that could be the problem. Unfortunatly, curl is not compiled in my php-version, and what is snoopy?! ;-) Any other ideas/examples?