Jeffro Posted January 21, 2012 Share Posted January 21, 2012 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 More sharing options...
vivekanand25 Posted January 21, 2012 Share Posted January 21, 2012 [quote author=J I think the URL changed so thats why your cade is not working now. You need to take some good API for use it always Link to comment https://forums.phpfreaks.com/topic/255475-question-on-file_get_contents/#findComment-1309840 Share on other sites More sharing options...
AyKay47 Posted January 21, 2012 Share Posted January 21, 2012 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. Link to comment https://forums.phpfreaks.com/topic/255475-question-on-file_get_contents/#findComment-1309851 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.