Read the webpage using Curl/File read I prefer the curl libraries Then read the webpage content after giving input to the url Parse web page using the regexp Formulate the results. Download complete source code PHP Curl module required