Detecting Bad Links
I need to make the server be able to detect a bad internet link on the webpage. The server is running Apache2 and another server with Apache1, both with PHP/Mysql installed. If the link is bad it redirects to another site. If the link is good, it redirects to the link. Any ideas how to go about this.
[i7 2600k @4.4ghertz][2x4 GB DDR3 1600][EVGA GTX570 1.280GB SC][EVGA GTX460 physx][Asrock Extreme7 Gen3 Z68][2xSeagate 160 Gb SATA HD raid0][Seagate 250 GB SATA2 HD][Sony Bravia 40' 1080p LCD HDTV][NEC 3520a DVD+-DLw][Windows 7 Ultimate x64][Rosewill 1000w]