||Google search Class
||Google Domain Search Result Integration
Search a site and retrieve results from Google
||By Jose Johnson Pallikkathyil
||A small modification is added to the class
1. The function "fetchContent" is modified.
2. A new function "fetchContentFromURL" is added into the class.
3. A new function "fetchContentFromURLbyCURL" is added into the class.
Earlier I was simply fetching the contents from a google search page by simply calling a google search url and then taking the result of the search page into a string and then processing. This function will fail if your server doesn't allow fetching contents from an external server.
so a new function "fetchContentFromURLbyCURL" is implement which uses CURL to fetch the contents.
Try this and let me know.
||10 years ago