473,568 Members | 2,935 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Php email through flash contact page is jibberish. HELP PLEASE!!!

1 New Member
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:

Expand|Select|Wrap|Line Numbers
  1. Name: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#242868" LETTERSPACING="0" KERNING="0">Test</FONT></P></TEXTFORMAT>
  2. Phone: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#242868" LETTERSPACING="0" KERNING="0">111111111</FONT></P></TEXTFORMAT>
  3. Email: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#242868" LETTERSPACING="0" KERNING="0">someone@something.com</FONT></P></TEXTFORMAT>
  4. Message: <TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="14" COLOR="#242868" LETTERSPACING="0" KERNING="0">this is a test</FONT></P></TEXTFORMAT>
  5. _childCounter: 1
  6. focus_mc: _level0.depthChild0
I was wondering if anyone knew a way that I could get it to send clean emails that I could read? I have been trying to figure this out for 2 days. I have done just about every tutorial on the net, and searched every PHP site to see if I can figure it out and I am stuck. My input boxes are named Name, Phone, Email and Message. The script I have used on my submit button is:

Expand|Select|Wrap|Line Numbers
  1. on (release) {
  2. if (Name eq "" or Phone eq "" or Email eq "" or Message eq "") {
  3. stop();
  4. } else {
  5. loadVariablesNum("form.php", 0, "POST");
  6. gotoAndStop(191);
  7. }
  8. }
And the PHP file is:

Expand|Select|Wrap|Line Numbers
  1. <?php
  2.  
  3. $Name = $_POST["Name"];
  4. $Email = $_POST["Email"];
  5. $Phone = $_POST["Phone"];
  6.  
  7. $ToEmail = "email@email.com";
  8. $ToSubject = "Websit Inquiry";
  9.  
  10. $EmailHeader="This person has submitted this feedback\n\n\n";
  11. $EmailBody = "Name: $Name\nEmail: $Email\nTelephone: $Phone\n";
  12.  
  13. $Message = $EmailHeader.$EmailBody;
  14. mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FirstName." <".$Email.">");
  15. ?>
Any help would be great as this is driving me insane!!!
Jul 31 '07 #1
2 4061
username22
1 New Member
It looks as though the texfields in your form are set to "render text as HTML".

Try unselecting that in the properties menu of each texfield (it's the button that looks like this: <>) and see how that works for you.
Aug 4 '07 #2
webcreator286
1 New Member
I am getting the exact same error. I have tried turning "render text as HTML" option on and off and I am still getting the HTML code in my emails. Any other suggestions.

Staryeyes47.... did you ever get this resolved?

Any help would be very much appreciated.

Thanks,
Aug 12 '08 #3

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

Similar topics

3
1689
by: Tatyana | last post by:
Hello, I was wondering if anybody knows how to disable Email Sending on Page Refresh. When shopper submits the order he/she is being redirected to the receipt page and gets the email confirmation, which is being send once the last page in Order Process displayed (Receipt page). Shopper is allowed to refresh that page since the data has...
1
4689
by: paolazi | last post by:
HI I have a flash templates..that uses php as well now I have a problem with my contact page as follows: the user enter his name, email and message into flash input whose Var are: your_name, your_email and message. then the user should press the send button and the actionscript code for the send button is: on (release) { url_var =...
2
2093
by: kyllle | last post by:
Ok so Iv created a web site that consists of sliding navigation, basically there are 7 buttons on the page and when each one is selected the appropriate page slides over, one of the buttons I have is a contact/comments page and I was wondering how I create this on the web page? Oh and another question is how I create a nice gallery of photos...
1
2551
by: arad | last post by:
I have a Flash animation page that runs for about 20 or 30 sec. Once the animation is done playing I want it to automatically go to the home page of my website. Is there some code that I can use to accomplish this? thanks in advance, ar
2
1254
Jarquesz
by: Jarquesz | last post by:
I need to email a web page with its content. The user should be able to click on the "email this page button" and then it should open in a new email message with all the body text of the web page in the email. Can anyone please assist with this.
2
1166
by: jakekoh | last post by:
Guys, using php i created quiz randomly pick questions from a text file, then i have a markquiz script done up. how can i email the markquiz page to a email with php?
12
2435
by: =?Utf-8?B?ZGdvdw==?= | last post by:
I designed a "contact_us" page in visual web developer 2005 express along with EW2 after viewing tutorials on asp.net's help page. Features work like they should, but I cannot figure out how to send contact info to email or data base when the "send" button is pressed. I've watched the tutorials over & over again. I just can't get it. Link:...
8
3111
Catalyst159
by: Catalyst159 | last post by:
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. ...
3
2990
by: xlr8u2 | last post by:
hi all i have been trying and trying to set up a contact page on godaddy. they require that i use a php script here is their example. <form action="/gdform.php" runat="server" method="post"> <input type="hidden" name="subject" value="Form Submission" /> <input type="hidden" name="redirect" value="Default.aspx" /> <p>First...
0
7693
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...
0
8118
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...
1
7665
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...
0
7962
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...
1
5501
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5217
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...
0
3631
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2105
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
933
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...

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.