Condition for link not found

From: Date: Wed, 19 Jun 2002 18:28:15 +0000
Subject: Condition for link not found
Groups: php.lang 
Request: Send a blank email to php-lang+get-313@lists.php.net to get a copy of this message
I'm a beginner at PHP but couldn't find this in the documentation. Can I construct a php condition that can check if a url exists? Something like this: if www.ibm.com is found then href=www.ibm.com else href=www.mysite.com/notfound.html

« previous php.lang (#313) next »