if(substr($_POST['url'],0,6)!="http://") { $clean_url="http://" . $_POST['url']; } else { $clean_url=$_POST['url']; }