ghurty Posted May 18, 2007 Share Posted May 18, 2007 Hi, I am trying to find out if there is a pre written script to submit a query to a telephone directory site (like whitepages.com) and will the bring back just the results and strip away all the adds/images. Thank You Link to comment https://forums.phpfreaks.com/topic/52053-script-to-retrieve-information-from-a-web-telephone-directory/ Share on other sites More sharing options...
per1os Posted May 18, 2007 Share Posted May 18, 2007 None that I know of, you are looking for a webfetch though. I can create the script, but thats freelancing and would involve a price. If you are interested pm me, if not than this is the wrong forum, this is simply for help with scripts you are already currently running. Link to comment https://forums.phpfreaks.com/topic/52053-script-to-retrieve-information-from-a-web-telephone-directory/#findComment-256618 Share on other sites More sharing options...
reneeshtk Posted May 18, 2007 Share Posted May 18, 2007 Hi There is one method using cURL u can do it... $curl="abc.com"; //curl_headdata contains the fields of the form $curl_headdata="SLD=$domainame&TLD=$tlds&submit=submit"; $curlconn = curl_init(); curl_setopt($curlconn, CURLOPT_POST, true); curl_setopt($curlconn, CURLOPT_POSTFIELDS, "$curl_headata"); curl_setopt($curlconn, CURLOPT_URL, $curl_url); curl_setopt($curlconn, CURLOPT_RETURNTRANSFER, true); $curlresult = curl_exec($curlconn); echo $crulresult; Link to comment https://forums.phpfreaks.com/topic/52053-script-to-retrieve-information-from-a-web-telephone-directory/#findComment-256628 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.