473,698 Members | 2,888 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Flash Contact Email Form using PHP

Catalyst159
111 New Member
I am trying to create a contact form in Flash CS3 for my website. The form will be used to send an email to a specifies email addresse. I am a little confused as to how I can go about doing this from Flash with PHP. In flash i use Actionscript 3. I have tried a bunch of tutorials but they all fail to send email. Any help would be great. Thanks
Aug 31 '09 #1
8 3121
didoamylee
16 New Member
Hy,
As far as I know Flash cannot sent email. It can however send a $_POST to a specific URL.
The solution would be to create a file mail.php ( or whatever name ) and do a form in flash cs3 to send the $_POST to this file.
mail.php will be responsible for the mail sending.
First just create a form and see if you get any $_POST data.
Another trick might be to have the flash file and the PHP mail script in the same file. This will make retriving the $_POST easier.
Aug 31 '09 #2
Catalyst159
111 New Member
Hey,

Thanks for the reply. I think I know what I have to do with the flash and php. But I need to know if I need anything installed on the web server so that this can be possible ?

Regards,

Catalyst
Aug 31 '09 #3
Markus
6,050 Recognized Expert Expert
Kirupa.com is a good resource for flash tutorials and info.
Aug 31 '09 #4
Markus
6,050 Recognized Expert Expert
If you intend to do it with PHP, you'll obviously need PHP and sendmail installed on the server.

Also, please do not post the same question in different threads. Create your own thread.

Mark (moderator).
Aug 31 '09 #5
didoamylee
16 New Member
On the server you must have php and a mail server like postfix or sendmail.
For flash you do not need anything special as flash will load in the users browser and use his flashplayer and browser resources.
Aug 31 '09 #6
Catalyst159
111 New Member
Sorry about posting in different threads Markus. My bad. Is there a way I can accomplish the samething using asp instead of php?

Regards,

Catalyst
Aug 31 '09 #7
hsriat
1,654 Recognized Expert Top Contributor
@Catalyst159
Flash is client side program, so you need server for the purpose of sending mail. Doesn't matter whether its PHP, ASP or Java.
PHP is the easiest solution. Almost all web hosts support PHP.

Use can use PHPMailer or SwiftMail (google for them) and see how to use them. There might be tutorials for flash+PHP mails on the web.
Sep 1 '09 #8
Catalyst159
111 New Member
Thanks for the info and help.
Sep 2 '09 #9

Sign in to post your reply or Sign up for a free account.

Similar topics

0
1296
by: Derek Moore | last post by:
Hi any one help with this one below is the "contact.php form" and the contents of the "button "from with in flash! but all i get back is the field names but no content any ideas??? contact.php <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />...
6
3521
by: Derek | last post by:
Hi all any one please help, i have a buttin in flash 8 which gets a form contact.php but when it is pressed the emial ruturns empty as follows 1 the flash button 2 the form 3 the email outcome (empty) the form on (release) { _parent.getURL("contact.php","_blank", "GET"); _parent.name=""; _parent.phone="";
16
2879
by: Head In A Pan | last post by:
OK... I am now heading into day 3 of attempting to populate a database through my flash form!! I figure I need some help before I crack! I just can't get it to work at all... I am able to get my variables from flash for the purposes of sending them via email but need a PHP/SQL guru to tell me what I am doing so horribly wrong in this case... it may be something really obvious to someone above my novice level - Please? ;) Here's my code:...
2
4066
by: staryeyes47 | last post by:
Hi, I am creating a contact page for a my website and I am having a bit of trouble. I have created the form in flash, and am using a php file to send the email to myself. The form works OK, but when it deliver's it to my inbox, I am getting all of this jibberish with the email Example: Name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#242868" LETTERSPACING="0" KERNING="0">Test</FONT></P></TEXTFORMAT>...
1
1865
imarkdesigns
by: imarkdesigns | last post by:
Good day guys... anyone here can help me correct the function of my Flash Mail Form using ASP to send the data... CDO.Message.1 error '8004020d' At least one of the From or Sender fields is required, and neither was found. /contact.asp, line 20 this is the message when i hit Send on my Flash Form to send the information...
0
2970
by: bbacarat | last post by:
Hi All, I attempting to use the following actionscript and php code to send from a flash form that I have created. However I have used a combo box from the built in flash 8 components and I'm not getting the emails through with the data that is being selected in the combo box. I've attempted to create the code I think would extract this information but I'm not having much look? Also I've attempted to add in a carboncopy email address...
2
1217
by: xxsassxx31 | last post by:
I want to say hello to all and thanks for letting me a part of this great forum. I am having some problems with my flash site (www.alliancedirect.net) and I am using Adobe Flash CS4 now with my site with ActionScript 1.0. I have a form already made on the site (under contact us) but whatever I do....I can't make it work! I use GoDaddy and their gdform.psp is what they provide but they don't give the code in flash. I downloaded some different...
1
1568
by: xxsassxx31 | last post by:
I posted this on a different section on bytes but I think this is more applicable. I thank you once again for your help and my question is relisted below: __________________________________________________________________ I want to say hello to all and thanks for letting me a part of this great forum. I am having some problems with my flash site (www.alliancedirect.net) and I am using Adobe Flash CS4 now with my site with ActionScript 1.0. ...
0
1758
Catalyst159
by: Catalyst159 | last post by:
I am trying to create a Email form in the Contact secion of my flash web site. My website uses Action Script 3. What is the bes way to go about doing this. Any help would be greatly appreciated. Thanks . Regards, Catalyst
0
8683
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8611
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9031
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8904
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8876
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
5867
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4624
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.