kamax Posted April 18, 2017 Share Posted April 18, 2017 This works when $url="http://google.com" When $url="http://www.google.com/search?q=code", it returns nothing. Can anyone help? Quote Link to comment https://forums.phpfreaks.com/topic/303732-file_get_contentsurl/ Share on other sites More sharing options...
requinix Posted April 18, 2017 Share Posted April 18, 2017 Nothing nothing? Google may be blocking you. If you want to do a search then use their custom search engine (CSE) service. Quote Link to comment https://forums.phpfreaks.com/topic/303732-file_get_contentsurl/#findComment-1545562 Share on other sites More sharing options...
kamax Posted April 18, 2017 Author Share Posted April 18, 2017 (edited) Missed a part,When $url="http://www.google.com/search?q=some+code", it returns nothing. Edited April 18, 2017 by kamax Quote Link to comment https://forums.phpfreaks.com/topic/303732-file_get_contentsurl/#findComment-1545563 Share on other sites More sharing options...
requinix Posted April 18, 2017 Share Posted April 18, 2017 Oh, well, in that case, Nothing nothing? Google may be blocking you. If you want to do a search then use their custom search engine (CSE) service. Quote Link to comment https://forums.phpfreaks.com/topic/303732-file_get_contentsurl/#findComment-1545565 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.