Page 1 of 1

link checking...

Posted: Sun Aug 17, 2003 10:29 am
by noaksey2000
Alright people I was wondering if anyone here knows how to write a little script that will check a link on a page and display say a picture by it showing if, at that present time, that link is valid or not (like a red circle for not working and a green one for working). I want to use this idea for a downloads section of my site but I cannot figure out how it works as I will link to some external sites. damn php!

cheerz on any help you give me lads,
chris.

Posted: Sun Aug 17, 2003 10:39 am
by trollll
Don't damn PHP when it gives you such useful tools as fsockopen (which returns false if it can't open a connection) for things like this. :)

Posted: Sun Aug 17, 2003 11:58 am
by nigma
Be nice now trollll ;)