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</optio
n>
</select></td>
</tr>
<tr>
<td colspan="2" valign="top"><div align="center">Comments
& Questions: <br>
<textarea name="comments" cols="50" rows="8" wrap="VIRTUAL" id="comments"></textarea>
</div></td>
</tr>
<tr>
<td valign="top"> </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
\user78588
745\www\ph
p\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