[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[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.6

Mail Problem With PHP on Windows.

Asked by applescreations in PHP for Windows

Hi

I was wondering If Windows server had an effect on PHP. Do you have to define variables like in ASP?

Im Having This Mail PRoblem HEre is the CODE...

***************************************

  <?php if (isset($contact)) { mail("me@me.com","$Subject - Contact Form Jewdaica.com","Contact Form me.com\n\nFirst Name: $firstname\n\nLast Name: $lastname\n\nSubject: $Subject\n\nEmail: $Email\n\nPhone: $Phone\n\nComments: $comments","From:$Email");?>

<p align="center">Thank you <?PHP echo("$firstname"); ?>, <?PHP echo("$lastname"); ?>.</p>
<p align="center">You Message Has Been Sent </p>
<?PHP } else { ?>

<form name="contact"  onSubmit="return validateForm(this)" method="post" action="contact.php">
                <table width="450" border="0" cellpadding="5" cellspacing="0" class="content">
                  <tr>
                    <td valign="top"><div align="right">First Name:</div></td>
                    <td><input type="text" name="firstname"></td>
                  </tr>
                  <tr>
                    <td valign="top"><div align="right">Last Name:</div></td>
                    <td><input type="text" name="lastname"></td>
                  </tr>
                  <tr>
                    <td valign="top"><div align="right">Email:</div></td>
                    <td><input type="text" name="Email"></td>
                  </tr>
                  <tr>
                    <td valign="top"> <div align="right">Confirm Email:</div></td>
                    <td><input type="text" name="CEmail"></td>
                  </tr>
                  <tr>
                    <td valign="top"><div align="right">Phone: (optional)</div></td>
                    <td><input type="text" name="Phone"></td>
                  </tr>
                  <tr>
                    <td valign="top"><div align="right"> Subject: </div></td>
                    <td><select name="Subject" style="width:145px">
                        <option selected>Select One</option>
                        <option value="My order">My order</option>
                        <option value="Return authorization">Return authorization</option>
                        <option value="Note to Michel">Note to Michel</option>
                        <option value="Commission art">Commission art</option>
                        <option value="Other">Other</option>
                      </select></td>
                  </tr>
                  <tr>
                    <td colspan="2" valign="top"><div align="center">Comments
                        &amp; Questions: <br>
                        <textarea name="comments" cols="50" rows="8" wrap="VIRTUAL" id="comments"></textarea>
                      </div></td>
                  </tr>
                  <tr>
                    <td valign="top">&nbsp;</td>
                    <td><input type="submit" name="Submit" value="Send"> <input type="reset" name="Submit2" value="Reset"></td>
                  </tr>
                </table><input name="contact" type="hidden" value="true">
              </form> <?PHP } ?>

*****************************************************

thats the code. the Error I get is.

=============================================

Fatal error: Maximum execution time of 30 seconds exceeded in \\atl.hosting.int\storage\IPS0000TL2\user78588745\www\php\contact.php on line 43

===============================================


on line 43 I have the Thank you echo... what can the problem be with that.

I originally put it in one php statment but i changed it. It doesnt help.

How would I define a variable to a form field, if thats what I have to do
define($firstname, form?)

Thanks


 
Related Solutions
Keywords: Mail Problem With PHP on Windows.
 
Loading Advertisement...
 
[+][-]02/13/04 07:57 AM, ID: 10353228Accepted Solution

View this solution now by starting your 30-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

Zone: PHP for Windows
Sign Up Now!
Solution Provided By: Saoi
Participating Experts: 2
Solution Grade: A
 
[+][-]02/13/04 04:10 AM, ID: 10351440Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]02/13/04 07:58 AM, ID: 10353236Expert Comment

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 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02/13/04 10:15 AM, ID: 10354622Author Comment

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 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091118-EE-VQP-93