if (($_POST[nome]!="") and ($_POST[commento]!="") and ($_POST[voto]!=0) and ((is_email($_POST[email])==true)OR($_POST['email']=="")) and ((CodeUrl($_POST[url])==true))OR($_POST['url']==""))

prova...non sono certo