If anyone could help with this I'd be really grateful !!
I've a little experience of using formmail as a php, and have successfully used this without any issues.
However the ISP which is hosting the website I'm working on requires a cgi/pl version of formmail which I can't get working - with a bad referer error.
The form is submitted with the following values in it;
<form id="form_1" name="form_1" action="/cgi-bin/torquemail.pl" method="post" target="_self" enctype="multipart/form-data">
<INPUT type="hidden" value="web@master@torquervt.co.uk" name="recipient">
<INPUT type="hidden" value="REMOTE_HOST,HTTP_USER_AGENT,REMOTE_ADDR" name="env_report">
<INPUT type="hidden" value="SERVICE CLUB APPLICATION" name="subject">
I've edited the email address above with an additional @ in the name so it doesn't get picked up for spam.
The formmail has the following coding;
@referers = ('torquervt.co.uk');
@recipients = ('^webmaster\@torquervt\.co.uk');
When I submit the form from the website, I get the bad referer error, I can't understand why, can anyone please help, before I lose all my hair
Thanks a lot