Hi, Can anyone point me in the right direction with this one. I am trying to send a flash form to
php. I have got it sorted with
html, but it won't work with my flash site (
www.themarina-bridlington.com Look at contact page).
my timeline runs animation then stops with the form in place.
I have created a movie clip from input text boxes and named VAR's for each one (same as
php file), also i placed on the movieclip
- Code: Select all
onClipEvent(data){
_root.nextFrame();
}
My submit button has:
- Code: Select all
form.loadVariables("mail.php", "POST");
the next frame is a thanks page. I get the form up and then when I fill and try to submit, nothing happens. I don't get mailed or the thanks page.
my
php:
- Code: Select all
<?php
$name = $_REQUEST['Name'];
$phone = $_REQUEST['Phone'];
$email = $_REQUEST['Email'] ;
$speach = $_REQUEST['Message'];
$message ="
NAME: $name
PHONE: $phone
EMAIL: $email
MESSAGE: $speach";
mail( "info@jobs4alltrades.com", "Website enquiry from 'themarina-bridlington.com'",
$message, "From: $email" );
header( "Location: http://www.themarina-bridlington.com/thankyou.html" );
?>