but i just cant figure out what im doing wrong. I followed the Kirupa tutorial and this guy’s source files: http://www.gregrochford.co.uk/london/london but i still cant figure out this thing. I get the “thanks for sending” screen but the email never arrives!
Here is my email.php file:
<?php
$to = "gorjanc@gmail.com";
$subject = "Povpraševanje po garažnih vratih";
$headers = "From: " . $_POST["email"];
$headers .= "<" . $_POST["email"] . ">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-Path: " . $_POST["email"];
$message .= "This message has been sent from your Contact Form
";
$message .= "Name: " . $_POST["ime"] . "
";
$message .= "Email: " . $_POST["email"] . "
";
$message .= "Message: " . $_POST["komentarji"] . "
";
mail($to, $subject, $message, $headers);
?>
Code on my “send” button:
on(release){
if(this._parent.form.vnos_email.text == ""){
this._parent.obvestilo.text = "Niste izpolnili vseh obveznih polj!";
}else{
this._parent.form.loadVariables("email.php", "POST");
}
}
Code on the form:
onClipEvent(data){
_root.gotoAndStop("potrditev");
}
My server supports PHP, so thats not it. I even tried putting it on some free PHP servers but still nothing. Help please!