note 10885 deleted from function.parse-url by jimw

From: Date: Fri, 21 Dec 2001 00:39:34 +0000
Subject: note 10885 deleted from function.parse-url by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-23659@lists.php.net to get a copy of this message
let's not forget that you can... function isValidUrl($url) { if (fopen($url)) return true; else return false; } ...although you may want to check and see what scheme the $url is using before opening it ...because fopen() also works with the "file://" sheme as well. But, what an excellent way to validate an URL.

« previous php.notes (#23659) next »