HI ! is there any expert tell me how to use ereg ?? Now I want to validate a url, I know I should make use of ereg to help me, but I don't know how to use it.... (I want it must start with http://).
Start by reading the PHP manual about preg functions Then search the internet for PERL and REGEXP. The preg are compatible with PERL regular expressions.