Ciao a tutti sono nuovo del forum.Ho un problema con un form flash + PHP.Sia il codice flash che il codice php non sono miei ma sono di quei template che si acquistano gia' fatti ma modificabili.Il mio problema è che in flash c'è il form con input Nome,Email,Telefono,Messaggio con il pulsante invia che richiama la pagina email.php.Una volta pubblicato,quando inserisco gli imput mi arriva una mail così:da Roberto a gus53@fastwebnet.it The Name Of The Sender: 1
Email: Roberto

Subject:

Message:

IP ADDRESS: 93.50.171.20

By Gus Web Design Studio

Non viene spedito il Subject e il Messaggio

Io non capisco il linguaggio php mi date una mano ? Qui di seguito il codice di email.php:

<?php
//Type the receiever's e-mail address
$emailAddress = "gus53@fastwebnet.it";
//Type your Site Name
$siteName = "By Gus Web Design Studio";

$contact_name = $_POST['name'];
$contact_email = $_POST['email'];
$contact_subject = $_POST['subject'];
$contact_message = $_POST['message'];

if( $contact_name = true ) {
$sender = $contact_email;
$receiver = $emailAddress;

$client_ip = $_SERVER['REMOTE_ADDR'];

$email_body = "The Name Of The Sender: $contact_name \nEmail: $sender \n\nSubject: $contact_subject \n\nMessage: \n\n$contact_message \n\nIP ADDRESS: $client_ip \n\n$siteName";

$emailAutoReply = "Hi $contact_name, \n\nWe have just received your E-Mail. We will get in touch in a few days. Thank you! \n\n$siteName ";


$extra = "From: $sender\r\n" . "Reply-To: $sender \r\n" . "X-Mailer: PHP/" . phpversion();
$autoReply = "From: $receiver\r\n" . "Reply-To: $receiver \r\n" . "X-Mailer: PHP/" . phpversion();

mail( $sender, "Auto Reply: $contact_subject", $emailAutoReply, $autoReply );

if( mail( $receiver, "New E-Mail - $contact_subject", $email_body, $extra ) ) {
echo "success=yes";
} else {
echo "success=no";
}
}
?>