Ciao Emyl,

"approfitto" di nuovo di te.

ho visionato il link che mi hai mandato ed ho provato le seguenti sintassi:

<?php

error_reporting(E_ALL);

codice:
// setting PHP error reporting
switch(getinivar('php_error_reporting')) {
case 0: error_reporting(0); break;
case 1: error_reporting(E_ERROR | E_WARNING | E_PARSE); break;
case 2: error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); break;
case 3: error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); break;
case 4: error_reporting(E_ALL ^ E_NOTICE); break;
case 5: error_reporting(E_ALL); break;
default:
   error_reporting(E_ALL);
}
?>

Rispettivamente prima l'una, poi l'altra, ma non ottengo nessun risultato. Nada errori

Dovrei controllari i campi di una form,

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>www.comune.jesi.an.it/zoofila - ZOOFILA DI JESI - PAGINA DI SEGNALAZIONE</title>

<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
</head>
<body style="background-color: rgb(255, 255, 153); color:#OOOOOO; text-align: center;">

<form name="segnalazione" method="post" action="send.php">

Il Tuo Nome:
<input name="nomemittente" type="text">
Il Tuo Cognome:<input name="cognome" type="text"><hr>
La Tua E-Mail:

<input name="emailmittente" type="text"><hr>
La Tua Segnalazione:

<textarea name="commenti" rows="15" cols="80"></textarea><hr>
<input value="Invia i Dati Inseriti" type="submit"><input value="Cancella i Dati Inseriti" type="reset">
</form>
</body>
</html>



<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
<title>www.comune.jesi.an.it/zoofila - ZOOFILA DI JESI - DATI INVIATI</title>

<meta content="text/html; charset=ISO-8859-1"
http-equiv="content-type">
</head>

<body style="background-color: rgb(255, 255, 153); text-align:center; color: #OOOOOO">
<?php

#error_reporting(E_ALL);
codice:
// setting PHP error reporting
switch(getinivar('php_error_reporting')) {
case 0: error_reporting(0); break;
case 1: error_reporting(E_ERROR | E_WARNING | E_PARSE); break;
case 2: error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); break;
case 3: error_reporting(E_ALL ^ (E_NOTICE | E_WARNING)); break;
case 4: error_reporting(E_ALL ^ E_NOTICE); break;
case 5: error_reporting(E_ALL); break;
default:
   error_reporting(E_ALL);
}
if(
($_POST['nomemittente'] = "")
&& ($_POST['cognome'] = "")
&& ($_POST['emailmittente']="")
&& ($_POST['commenti'] = "")
){
echo "Compila tutti i Campi";
}
else
{
$destinatario= "vigilanzazoofila@aesinet.it";
$oggetto="Modulo inviato da: ".$_POST['nomemittente']."".$_POST['cognome']."";
$intestazioni="From: ".$_POST['emailmittente']."";
mail($destinatario,$oggetto,$commenti,$intestazion i);
}

?>

<div>
Grazie per i Dati Inviati.


Torna alla Home Zoofila
</div>
</body>

</html>


Non vengono eseguiti i controlli.

Sai dirmi perchè?

:master:

Grazie, per l'ennesima volta