Re: [PHP] Fopen help

2001-03-23 Thread Richard Lynch
nteer a little time: http://chatmusic.com/volunteer.htm - Original Message - From: "Kenneth R Zink II" <[EMAIL PROTECTED]> Newsgroups: php.general Sent: Thursday, March 22, 2001 3:47 PM Subject: [PHP] Fopen help I'm trying to use Fopen to check and see if a URL exist with t

[PHP] Fopen help

2001-03-22 Thread Kenneth R Zink II
I'm trying to use Fopen to check and see if a URL exist with this bit of code. $url=$row[url]; echo "Old URL = ".$url.""; $urlcheck = fopen($url,"r"); echo "urlcheck = ".$urlcheck.""; switch ($url){ case "": case "http://": echo "No URL Set"; break; default: switch ($urlcheck){ case 1: echo "Val