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 41 - Check Links

When building up a website, and especially if the marketing budget is tight, you often have to embark on a campaign of link exchanges with other sites. But tracking all those link exchanges to ensure the other sites keep their end of the deal is time-consuming. However with this plug-in you simply pass an array of one or more links which should be present on a particular web page and you will be informed whether those links are all in place.

The Figure shows the plug-in in action; two of the links have passed but a link to http://doesnotexist.com/index.html is not found on the pluginphp.com index page.