PDA

View Full Version : flash php form



naeluh
February 14th, 2008, 06:50 PM
i am trying to use the flash form but when i click the send button nothing happens

www.periodcollection.com/email2.html

thanks

heres the edited email.php

<?php


$sendTo = "nick@periodcollection.com";
$subject = "My Flash site reply";
$headers = "From: " . $_POST["firstName"] ." ". $_POST["lastname"] . "<" . $_POST["email"] .">\r\n";
$headers .= "Reply-To: " . $_POST["email"] . "\r\n";
$headers .= "Return-path: " . $_POST["email"];
$message = $_POST["message"];
mail($sendTo, $subject, $message, $headers);

?>

Digitalosophy
February 15th, 2008, 09:00 AM
erm when I go to http://www.periodcollection.com/email.php i get a download prompt... you sure your host supports php?

bear
February 18th, 2008, 01:04 AM
...yeah, I get the same thing as well. Better check that support.