This tutorial showcases an amazing power of PHP. The PHP script is able to extract any particular content of a given page.It can tell you almost all information about the requested url. Ex: page title, page description, keywords from the webpage's meta tag, images and a lot more information.
I've seen facebook as well as google+ use this kind of script to show the url information of any entered url.
Via Ipsita Sahoo