link checking...

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
noaksey2000
Forum Newbie
Posts: 5
Joined: Sun Aug 17, 2003 10:29 am

link checking...

Post 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.
User avatar
trollll
Forum Contributor
Posts: 181
Joined: Tue Jun 10, 2003 11:56 pm
Location: Round Rock, TX
Contact:

Post 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. :)
User avatar
nigma
DevNet Resident
Posts: 1094
Joined: Sat Jan 25, 2003 1:49 am

Post by nigma »

Be nice now trollll ;)
Post Reply