I am using the following to verify a url:

if (!$fp = fopen("http://www.anyurl.com";, "r"))
{
        echo "not valid";
}
else
{
        echo "this is a valid url";
}

I always get a not valid message. What am I doing wrong? Is there a better
way to do this?

Mark Roberts
Sr. Systems Analyst
LanApps/Web Development
The Williams Information Services Corporation
918-573-1706
[EMAIL PROTECTED]


Reply via email to