I
am treading dangerously into new territory here. I have created a Submission Form on
www.petmag.co.uk, but cannot get it to work.
Below is the section on the formmail.cgi that I have changed and the corresponding html in the file. Can anyone see were I have gone wrong. I
am trying to achieve a redirect to the home page once the submit button has been pressed. At the moment I
am not even getting the emails.
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 1;
$mailprog = 'SMTP:mailhost.petmag.co.uk';
$postmaster = 'admin@jegranet.com';
@referers = qw(petmag.co.uk 85.234.132.66 localhost);
@allow_mail_to = qw(admin@petmag.co.uklocalhost);
@recipients = ();
%recipient_alias = ();
@valid_ENV = qw(REMOTE_HOST REMOTE_ADDR REMOTE_USER HTTP_USER_AGENT);
$locale = '';
$charset = 'iso-8859-1';
$date_fmt = '%A, %B %d, %Y at %H:%M:%S';
$style = '/styles/style.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$address_style = 0;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From:
admin@petmag.co.uk
Subject: Breeders Form
Thank you for your directory submission.
END_OF_CONFIRMATION
-------------------------------------------------
HTML
<form name="SubmissionForm" method="post" action="http://www.petmag.co.uk/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="feedback@petmag.co.uk"> <input type="hidden" name="redirect" value="http://www.petmag.co.uk/index.html" />
Hope someone can help. I
am having a real blonde senile day today.