View Single Post
Old 05-13-2015, 04:51 AM   #18
edbr's Avatar
Join Date: Aug 2005
Location: Bali
Posts: 11,216

acctually i just tested your fornm and it retured the error please enter home page which is not on the form.

the validaytion for that is

/*	Validating  web address in form field  **********************************************     */
		   if ($_POST['website'] != "") {
            $website = filter_var($_POST['website'], FILTER_SANITIZE_URL);
            if (!filter_var($website, FILTER_VALIDATE_URL)) {
                $errors .= "$website is <strong>NOT</strong> a valid URL.<br/><br/>";
        } else {
            $errors .= 'Please enter your home page.<br/>';
its not my favorite as it must include http:// and i think that can be a problem. you can remove or comment that out if you choose
If you're happy and you know it shake your meds!
different style links examples

Flight / Hotel search
Free script download
Bali Villas
edbr is offline   Reply With Quote