webpage link validation

From: Date: Mon, 21 Sep 2009 18:42:44 +0000
Subject: webpage link validation
Groups: php.general 
Request: Send a blank email to php-general+get-298243@lists.php.net to get a copy of this message
What's the simplest way to test if a link is valid? I've got a script that throughly checks the dns, etc. But, I'd also like to check to see if the user has inputted a valid link to a webpage. File_exists() and etc. seem to have a lot of caveats. E.g., foo.com/bar/file.txt Most things I've looked at are gross overkill. Al........

« previous php.general (#298243) next »