[PHP] Link Validator

2001-01-30 Thread Huseyin
hi i am a newbie and i was wondering how can i check the link if it exists i tried file_exists but it is not laways right thanks in advance -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact

[PHP] file checking

2001-01-13 Thread Huseyin
i am trying to write a function that checks the file to see if it is still availabla to download if not it will return link is broken this is what i have if(!($connection = @fopen ($row[url], "r"))) { $broken=1;} else { $broken=0; } but the problem is that it sometimes display broken link even tho