Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with my formmailer.pl script

Status
Not open for further replies.

DjTrex

Programmer
Apr 4, 2006
6
US
I am trying to use this script. Can any of you see why i would get a 403 access denied error?

<td align="center" valign="middle"><br><form method="post" action=" <img src="PixForWeb/HowDid2.gif" width="282" height="44"><br>
<input type="hidden" name="recipient" value="d2@comcast.net">
<select name="How Did You Hear About Us">
<option> - Hunting Expo</option>
<option> - Hunting Magazine</option>
<option> - Monster Muleys</option>
<option> - Friends or Family</option>
<option> - Link from another website</option>
<option>- Search Engine</option>
</select>
<br />
<br />
<input type="submit" />
</form></td>
 
here is the code in the formmailer.pl file

BEGIN
{
$DEBUGGING = 1;
$emulate_matts_code= 0;
$secure = 1;
$allow_empty_ref = 1;
$max_recipients = 5;
$mailprog = '/usr/lib/sendmail -oi -t';
$postmaster = '';
@referers = qw(localhost);
@allow_mail_to = qw(d2@comcast.net localhost);
@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 = '/css/nms.css';
$no_content = 0;
$double_spacing = 1;
$wrap_text = 0;
$wrap_style = 1;
$send_confirmation_mail = 0;
$confirmation_text = <<'END_OF_CONFIRMATION';
From: you@your.com
Subject: How did you hear about us

Thank you for your form submission.
 
The file that you are trying to execute does not have the correct permission to be executed on your server. On UNIX the CGI script must have 755 or rwx-rx-rx permission in order to execute. have you set your permissions?

Have A Great Day!!!, [bigglasses]

Nathan
Project Manager III
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top