Welcome Guest, Not a member yet? Register   Sign In
Function to verify URL?
#1

[eluser]the jan[/eluser]
Hi!

I've been looking through the docs for an easy way to verify if a URL entered into a form is valid but I can't find a function. I know about the Verification Class and it contains a way to validate email adresses:

Code:
$rules['email'] = "required|valid_email";

Is there such an easy way for URLs? Or do I have to write my own regex?

Thanks,
Jan


Messages In This Thread
Function to verify URL? - by El Forum - 07-01-2008, 05:00 PM
Function to verify URL? - by El Forum - 07-02-2008, 01:42 AM
Function to verify URL? - by El Forum - 07-02-2008, 02:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB