Issue with email in Flash CS3

This is a discussion on "Issue with email in Flash CS3" within the Flash & Multimedia Forum section. This forum, and the thread "Issue with email in Flash CS3 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 Nov 8th, 2007, 22:23
New Member
Join Date: Oct 2007
Location: London
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Issue with email in Flash CS3

Hi I have edited a website in Flash CS3 but don't know what I need to change to get peoples comments, ie an email sent via my contact page.

The actionscript is:
Code: Select all
on (release) {
    if (name eq "" or subject eq "" or message eq "" or email eq "") {
        stop();
    } else {
        loadVariablesNum("form.php", 0, "POST");
        gotoAndStop(2);
    }
}
(And the PHP file is underneath)

PHP: Select all

<?
 
   $to 
"youremail@domain-name.com";
   
$msg "$name\n\n";
   
$msg .= "$message\n\n";

  
mail($to$msg"From: My web site\nReply-To: $email\n");

?>
(I tried putting my email in the "youremail@domain-name.com" line but it doesn't work. Any of you lovely people know what else I need to change. Your help would be very much appreciated!!)

Last edited by karinne; Nov 8th, 2007 at 22:32. Reason: Please use the vBcode when inserting code in your posts ;)
Reply With Quote

  #2 (permalink)  
Old Nov 8th, 2007, 22:51
alexgeek's Avatar
Technical Administrator

SuperMember
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 15
Posts: 3,770
Blog Entries: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to alexgeek
Re: Issue with email in Flash CS3

You have to get the variables with $_POST['varname'];
Last Blog Entry: 3D Chess in your browser! (Mar 14th, 2008)
Reply With Quote
Reply

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
Bizarre issue with loading FLV files into Flash carousel galahad3 Flash & Multimedia Forum 0 May 2nd, 2008 09:13
Email Link in flash Aaron1988 Flash & Multimedia Forum 4 Jun 28th, 2007 21:14
Flash Video Player Issue Sgaspar11 Flash & Multimedia Forum 4 May 3rd, 2007 15:53
looping issue with flash file snooper Flash & Multimedia Forum 9 Nov 20th, 2006 13:34
flash php email forms xeno Flash & Multimedia Forum 1 Jul 31st, 2005 22:36


All times are GMT. The time now is 20:16.


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