This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > July 2007 > flash and data base
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
flash and data base
|
|
| Tilley661 2007-07-26, 6:15 pm |
| 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
| |
|
|
| Tilley661 2007-07-30, 6:17 pm |
| 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?
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|