A McGraw Hill Book Plug-in PHP: 100 Power Solutions
By Robin Nixon (McGraw Hill 2010, ISBN 978-0071666596)

Home | About | Buy It | Download | Contact

Select Chapter: 1  2  3  4  5  6  7  8  9 10 11 12

Chapter 7: Plug-in 42 - Get Title From URL

Sometimes you want to know what the title of a web page is, for example, as in the following plug-in, Plug-in 43, which can be used to automatically link back to referring websites. Using this plug-in with it it's possible to link back using the page's title.

The Figure shows the title of the news.yahoo.com website as extracted by the plug-in.