Advertisement

08.16.2007 at 06:23PM PDT, ID: 22768767
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

PHP EMail Issue From Flash EMail Form

Asked by AEII in PHP Scripting Language, JavaScript, PHP for Windows

Tags: , , ,

I posted this question on the Flash Development Area when I was trying to figure how to create a contact form in flash to e-mail through our server rather than the user's e-mail client ...

I have looked a many posts regarding this issue and I belive it is simply how our webserver of the site in IIS is setup that keeps the form from working.

I am beginning with a very simple form I got from "cyanblue" in his Email101.zip that only includes the user name, e-mail, and memo ... The form is pretty bullet proof so I don't think it has anything to do with the e-mail not working ...

He also provided the php file to allow the server to send ... I include this at the bottom of this question if you see anything that could keep it from working ... It is also pretty straight forward as well  ... so I am back to our webserver and how it is set up ...

We have php installed and working since we already have an online training center that uses php. I also have another php site that is use for testing and it works ...

So somehow I don't have something right for the e-mail to work ... Help !!!

Here is the email.php code:
<?php
      if ($_POST)
      {
            $mailTo = "trp@aeii.net";
            $mailSubject = "[Contact] Website Contact from - (" . $_POST['name'] . ")";
            
            $Header = "MIME-Version: 1.0\r\n";
            $Header .= "Content-type: text/html; charset=iso-8859-1\r\n";
            $Header .= "From: " . $_POST['email'] . "\r\n";
            
            $output = "<BR>";
            $output .= "From    : " . $_POST['name'] . "<BR><BR>";
            $output .= "Email   : " . $_POST['email'] . "<BR><BR>";
            $output .= "Message : " . $_POST['message'] . "<BR><BR>";
            
            $output = nl2br($output);
            
            if (mail($mailTo, $mailSubject, stripslashes($output), $Header))
            {
                  echo("&result=1&");
            }
            else
            {
                  echo("&result=2&");
            }
      }
      else
      {
            echo("This script runs only in Flash!!!");
      }
?>
Start Free Trial
[+][-]08.16.2007 at 06:33PM PDT, ID: 19714108

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.16.2007 at 06:59PM PDT, ID: 19714189

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.16.2007 at 08:24PM PDT, ID: 19714387

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.17.2007 at 06:20AM PDT, ID: 19716551

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 06:16AM PDT, ID: 19725601

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.19.2007 at 06:36PM PDT, ID: 19727714

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.20.2007 at 06:26PM PDT, ID: 19734937

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, JavaScript, PHP for Windows
Tags: flash, php, email, form
Sign Up Now!
Solution Provided By: AEII
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628