I was wondering how if it is possible in a PHP to do the following: 1) Have a box where the user enters their website address, then clicks submit 2) This brings up a page with the following: - A screenshot of their site (maybe from Alexa) - The site title - The site ranking - The site description and keywords taken from the META or some other way. The number 2 parts I want to know how are they possible in PHP, if so, how to go about doing them.
its possible and easy... use fopen to read the site use preg_match to find title/desc/keys Alex image (it seems that they locked auto imaging, so you need to access the site and download the image the same way above). site ranking -> which search engine? Peace,
Dear rockinaway, To get Alexa or Google PR you need two different kind of scripts. and i wish http://www.domaintools.com/ Does have the image or screenshot of the Website if it is having Good PR. Here is Demo Whois of domaintools.com http://whois.domaintools.com/hagioteam.com http://www.domaintools.com proivdesall the services you wanted to have in the Thread. If you want to have those functionality I am interested to work on it. PM me if you are interested. Thanks. Coolsaint
It has the stuff I want like the Alexa rank changes and website title, just I want to know how to add it
That is a good idea to use the Alexa screenshot option - you couldn't directly generate a screenshot of a website from PHP alone, quite impossible.