I wouldn't trust this to be working 100% correctly at all times though...
$urlObj = Net_URL($url_st r);
if ($url_str == $urlObj->getURL()) {
// Valid URL
} else {
// Not valid URL
}
Best Regards,
Peter Albertsson
"Con" <conradwt@runbo x.com> wrote in message
news:1111547064 .549878.274230@ f14g2000cwb.goo glegroups.com.. .[color=blue]
> Hi, is there a method with PEAR that would allow one to properly
> validate a URL?
>
> Thanks in advance,
>
> -Conrad
>[/color]
Comment