Jump to content

Question on file_get_contents


Jeffro

Recommended Posts

I've always used this query but it no longer works:

 

$data=file_get_contents('http://clients1.google.com/complete/search?hl=en&q='.$keyword);

 

For more info, I posted about this here last year. 

 

Now, the query no longer works.  Is there any other way to produce the results or is it just no longer going to work for me? 

Link to comment
https://forums.phpfreaks.com/topic/255475-question-on-file_get_contents/
Share on other sites

I've always used this query but it no longer works:

 

$data=file_get_contents('http://clients1.google.com/complete/search?hl=en&q='.$keyword);

 

For more info, I posted about this here last year. 

 

Now, the query no longer works.  Is there any other way to produce the results or is it just no longer going to work for me?

if the parameter given is a viable URL, this will work.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.