Re: file problem
| From: | Jason Wong | Date: | Fri, 20 Jun 2003 07:50:55 +0000 |
| Subject: | Re: file problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152282@lists.php.net to get a copy of this message | ||
On Friday 20 June 2003 16:23, Adina wrote:
> I have this script named test.php:
[snip]
> This script dosen't work. I receive the following warning:
> Warning:
>
> file("http://www.google.fr/search?q=beautiful&hl=fr&lr=&ie=UTF-8&oe=UTF-8&s
>tart=10&sa=N") - No such file or directory in test.php on line 4
>
> With this script I want to get the HTML source of a search result on
> google. I tried with another search engines and it works, only with google
> dosen't work.
You're not supposed to use Google like that. Use their API.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
A prisoner of war is a man who tries to kill you and fails, and then
asks you not to kill him.
-- Sir Winston Churchill, 1952
*/