i wrote a php form to send message to my email from flash but i dunno how to check it or if it is right?
any ideas?
<?php
// get inputs
$name = $_POST['name'];
$email = $_POST['email'];
$subject = $_POST['subject'];
$message = $_POST['message'];
// recievers email
$to = "osirus_tfl@hotmail.com";
// set email message to me
$msg = "Name: $name
Email: $email
Message: $message";
// senders details
$sender = "From: $name <$email>";
// send the email
mail("osirus_tfl@hotmail.com", $subject, $msg, $sender);
?>