salve
il problema è che riesco a ricevere un modulo compilato dal mio sito solo attraverso goggle chrome.
vi posto il codice php:
<?php
session_start();
if($_SERVER["REQUEST_METHOD"] == "POST"){
$yourname=htmlentities($_POST['yourname']);
$youremail=htmlentities($_POST['youremail']);
$yourtel=htmlentities($_POST['yourtel']);
$yourmessage=htmlentities($_POST['yourmessage']);
$to = "info@miosito";
$subject = "$WebSiteTitle Website Enquiry";
$body = "Nome: $yourname \n\nEmail: $youremail \n\nPhone: $yourtel \n\nMessage: $yourmessage";
$headers = "From: $youremail\r\n" .
"X-Mailer: php";
if (!(mail($to, $subject, $body, $headers))){
echo("<p style=\"color:#cc0000;\">Il messaggio non ` stato inviato.</p>");
}
header('Location: http://www.miosito/form_ok.html');
}
?>