hi,
im trying to create a form which is made of two input text boxes, i have made
this form and would like to be able to have the "input text" tranfered into an
access database, however i dont have a clue how to do this, i would apreciate
any help, try keep it simple im quite new to scripts and coding :) thank you
aniebel - 27 Jul 2007 12:16 GMT
Lookup "loadVars" in Flash Help. That will get you started. Also here are some
tutorials you might find helpful:
http://flash-creations.com/notes/servercomm_loadvars.php
http://www.kirupa.com/developer/flash/index.htm#Server_Side_&_Flash
Tilley661 - 30 Jul 2007 12:43 GMT
ok, i tryied all them tutorials and this is what is on my flash button actions,
on (release) {
form.loadVariables("email.php","POST");
}
i then have a php page named email, and this is the code
<?php
$sendTo = "sexydan66666@hotmail.co.uk";
$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);
?>
all my variables are set correct etc, but my email doesent recieve any email,
could any one explain why?