Can't seem to get this php/flash form to work.

This is a discussion on "Can't seem to get this php/flash form to work." within the Flash & Multimedia Forum section. This forum, and the thread "Can't seem to get this php/flash form to work. are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 30th, 2007, 18:16
Junior Member
Join Date: Jun 2007
Location: Leeds, England
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Can't seem to get this php/flash form to work.

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" );
?>
Reply With Quote

  #2 (permalink)  
Old Jun 30th, 2007, 22:06
Multimedia Specialist
Join Date: Apr 2007
Location: Arizona
Age: 25
Posts: 666
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Sgaspar11
Re: Can't seem to get this php/flash form to work.

http://www.kirupa.com/developer/acti..._php_email.htm

Check out this tutorial, make sure it looks like this and it'll work.
Last Blog Entry: Yay!? (Oct 8th, 2007)
Reply With Quote
Reply

Tags
php flash form

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
flash to work in IE?? RZX Developer Flash & Multimedia Forum 2 Apr 2nd, 2008 13:01
help with getting this form to work with formmail.pl newoptical Web Page Design 2 May 24th, 2007 23:36
Form loaded into main movie doesn't work papalazarou78 Flash & Multimedia Forum 4 Apr 3rd, 2007 18:57
Can this approach work for my form or any other suggestions? constantinesavva Web Page Design 1 Feb 20th, 2006 16:08


All times are GMT. The time now is 15:10.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43