I'm curious to know how the ereg expression would look like when you want to validate a URL (the text only, it doesn't need to realy exist, but 'htp:/ww.website.kom' should not be accepted
[0-9a-z]([-\\.]?[0-9a-z])*\\.)+[a-z]{2,}[0-9]+)?(/[-/.=_&0-9a-z]*)?(\\?[-.=_&0-9a-z]*)?$", $site) mcvdmvs
-- "It never hurts to help" -- Eek the Cat
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.