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

aniebel

2007-07-27, 6:19 pm

Lookup "loadVars" in Flash Help. That will get you started. Also here are some
tutorials you might find helpful:


http://flash-creations.com/notes/se...mm_loadvars.php

http://www.kirupa.com/developer/fla...er_Side_&_Flash

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?

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews