Any idea why my formmail web form has just stopped working? Basic code is below (edited for privacy and clarity..)
<form method="post" action="/cgi-bin/formmail" name="contactform">
<input name="recipient" value="name@domain.co.uk" type="hidden">
<input name="SUBJECT" value="Website Order" type="hidden">
<input name="email" value="webform@domain.co.uk" type="hidden">
<input name="realname" value="Webform" type="hidden">
<input name="Name" value="" type="text">
<input name="EmailFrom" type="text">
<input name="Tel" type="text">
<textarea name="Order" cols="50" rows="5"></textarea>
<textarea name="Address" cols="50" rows="5"></textarea>
<input name="submit" value="Submit" type="submit"> <input name="redirect" value="http://www.domain.co.uk/ok.htm" type="hidden"> </p>
</form>
Hi. In the first line does it need to point to formmail.php? Secondly, I had problems getting php or cgi scripts to work from the cgi-bin so I moved them to the root and they run from there.
Hope this helps, Matt.
what is not working about it? Do you get an error message?
No error message.. have just stopped receiving emails.
I actually changed the to email and it did work temporarily.. however this seems to have stopped again.
Ben