php Flash contact form?

  • Thread starter Thread starter By Any Means Necessary
  • Start date Start date
B

By Any Means Necessary

Guest
I've created a contact form in flash which works fine. I've then inserted this into dreamweaver and uploaded it onto the server but when I complete the form and send it. I don't receive anything in my inbox!

This is the code that I'm using and is saved as .php:

<?php

$your_name = $_GET['name'];
$your_email = $_GET['email'];
$you_message = $_GET['message'];

$recipient_email = "[email protected]";

$subject = "from" . $your_email;
$headers = "from" . $your_name . "<" . $your_email . "> \n";
$headers .= 'Content-type: text/html; charset=iso-8859-1';

$content = "<html><head><title>Contact letter </title></head><body><br>";
$content .= "Name: <b>" . $your_name . "</b><br>";
$content .= "Email: <b>" . $your_email . "</b><br>";
$content .= $your_message;
$content .= "<br></body></html>";

mail ($recipient_email,$subject,$content,$headers);
?>
 
Back
Top