Re: [PHP] Meaningful URL Validator

2001-08-17 Thread ReDucTor
st", $file[$i])) die("Invalid"); } echo $url." is Valid"; ?> - Original Message - From: "Stig-Ørjan Smelror" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, August 17, 2001 6:59 PM Subject: [PHP] Meaningful URL Validator &g

[PHP] Meaningful URL Validator

2001-08-17 Thread Stig-Ørjan Smelror
Hi all, I'm trying to make an URL validator, but I'm kind of stuck now. What I awnt it to do is as follows: It first checks to see if the server is up or down by doing a general fopen() on the URL. It then opens the URL in some way, checks the HTTP response code and spews out a meaningful me