Php form was working now isn't....aaaarrrgggghhh
Posted: Thu Mar 16, 2006 5:43 am
Hi there thanks to some kind help from this forum i sorted out a form being sent by php....all great. Out of nowhere now it's not working.
This is what i've changed the php.ini file settings to:
the form code is
Problem is as i say this was working two days ago, nothing has changed but it's now not happening - any ideas?
Thanks
This is what i've changed the php.ini file settings to:
Code: Select all
[mail function]
; For Win32 only.
SMTP = smtp.*******.co.uk
smtp_port = 25
; For Win32 only.
;sendmail_from = ****@**********.comCode: Select all
<form action="booking.php" method="post">
<table width="700" border="0">
<tr>
<td width="93">Name </td>
<td width="237"><input type="text" name="username" size="35"/></td>
<td width="23"> </td>
</tr>
<tr>
<td>Email </td>
<td><input type="text" name="usermail" size="35"/></td>
<td> </td>
</tr>
<tr>
<td>Address</td>
<td><input type="text" name="useraddr" size="35"/></td>
<td> </td>
</tr>
<tr>
<td>
<div align="left">
<input type="submit" value="Send details">
</div></td>
</tr>
</table>Code: Select all
<?
$to="****@***********.com";
$subject="FPRU Booking Form";
$message=$message=$_POST['username'] . "\n" . $_POST['usermail'] . "\n" . $_POST['useraddr'];
mail($to,$subject,$message);
?>Thanks