I have an ajax site where I link in a few hundred myspace-band media players. It appends one player at a time so I can navigate them all in a little more than a minute.
The only problem with this is when a myspace account closes or the player is deleted. I get an awful error which typically freezes the browser, the player loads but the content doesn’t exist.
So, I’m thinking about revamping this particular site using PHP instead of JS (AJAX). I’d like to check the url to see if it’s broken, if so echo a message, if not load the player.
I’ve been searching this topic (here and elsewhere) and I found a few things but I was wondering what you guys thought.
This is what I’ve found:
[URL=”http://www.hotscripts.com/Detailed/48321.html”]this
and
[URL=”http://www.newgrounds.com/bbs/topic/396500″]this
and
[URL=”https://webdeveloper.com/forum/showthread.php?t=24569&highlight=broken+link”]this