Hey guys!
This is my first time messing around with php. I was trying to create a form based on kirupa’s flash form tutorial. But I came across this problem. When test the form on my current server the form simply won’t do nothing. But if I try it on my old server it works with no problem. Does anyone have a clue as why this happens? Might it have to do with it being PHP4 instead of PHP5? If so, how do I convert it?
Here’s the PHP:
<?php
$sendTo = "[EMAIL="mymail@mail.com"]mymail@mail.com[/EMAIL]";
$subject = "Flashwebsite message";
$headers = "From: " . $_POST["name"] ."<" . $_POST["email"] .">
";
$headers .= "Reply-To: " . $_POST["email"] . "
";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);
?>
Any help is welcome and thanks in advanced!