What am I doing wrong?

I am trying, without good results, to create an application that a consumer input information to be able to, submits, and the info is emailed to my advice.

Within my FormMail. pl
We have:
$mailprog = ‘/usr/lib/sendmail -oi -t’;
(I get tried ‘/usr/sendmail -oi -t’ as well as ‘SMTP: mailhost. My. Domain'(Tried to obtain host provider… appeared to be on ‘forget’ intended for over an hour)
$postmaster = ‘Emailaddress. com’;
referers = qw();
allow_mail_to = qw(Emailaddress. com);
recipients = ();
The rest is at the particular default.

In my html file We have:
< variety action=" FormMail. pl" method=" post" name=" EmailForm" >
< enter type=" hidden" name=" recipient" value=" MyEmailaddress. com" />
< enter type=" hidden" name=" subject" value=" Variety Demo" />
< enter type=" hidden" name=" redirect" value=" Route. htm" />
And also the form fields.

When i test the page out I could input information, But when i ‘Submit’ I purchase a ‘You are not authorized to evaluate this page’, ‘HTTP Error 403 – Not allowed
Net Explorer’.
Whew, well there everthing is. Can among you brilliant brains tell me what I’m doing wrong. My head hurts

you’ll want to set the formmail. pl report permission to carry out. your ftp client should have an option intended for setting file permissions.

I assume within your post, you have this as one example:
< variety action=" FormMail. pl" method=" post" name=" EmailForm" >

The simple truth is, you need to help point the action for your Perl script
either to be a relative path:
< variety action=" /cgi-bin/FormMail. pl" method=" post" name=" EmailForm" >

or an absolute path:
< variety action=" http: //www. mysite. com/cgi-bin/FormMail. pl" method=" post" name=" EmailForm" >

megablaz0r is actually correct. You also have to set the CHMOD of your Perl
script to 755. Your FTP program is known for a spot to placed it (view help).

In addition to… you need to help transfer the Perl script from a PC to your
webspace employing ASCII transfer function (not Binary). Binary is actually probably
that default, used on your HTML, graphics data files. Perl/CGI scripts
always get transfered around ASCII mode.

Your webhost probably is known for a help page at where they discover their
$mailprog… they will show you the correct program path.

and lastly, have you previously gotten a Perl script to jog correctly
Did you ever do a super easy " hello there" sorts of script to test out
your ability in order to upload and CHMOD your Perl script If not, you might
want to check out a simple tutorial while using infamous " Howdy There"
script to make sure you’re CGI-BIN will be working correctly.

–max–

Acceptable, now I have a really stupid question. I am using DWMX which is where I include setup anything to do with ftp but Concerning looked and looked and cannot get a ‘set permissions’ method anywhere. Does the file transfer protocol program that includes DWMX have that will capability, if not the best way else would I do it. (In case people haven’t noticed I am very new to all this and get just enough knowledge to get myself in trouble. ) I can’t find methods to start ftp outside DWMX, is it on the command prompt Guide please. BTW i thought this was a script through:
http: //nms-cgi. sourceforge. net/scripts. shtml (you know one of those ‘simple’ anyone can do things… lol

megablaz0r is actually correct. You also have to set the CHMOD of your Perl
script to 755. Your FTP program is known for a spot to placed it (view help).

In addition to… you need to help transfer the Perl script from a PC to your
webspace employing ASCII transfer function (not Binary). Binary is actually probably
that default, used on your HTML, graphics data files. Perl/CGI scripts
always get transfered around ASCII mode.

Your webhost probably is known for a help page at where they discover their
$mailprog… they will show you the correct program path.

and lastly, have you previously gotten a Perl script to jog correctly
Did you ever do a super easy " hello there" sorts of script to test out
your ability in order to upload and CHMOD your Perl script If not, you might
want to check out a simple tutorial while using infamous " Howdy There"
script to make sure you’re CGI-BIN will be working correctly.

–max–/QUOTE

WS-FTPLE FTP program once was free, but these days,
they will upgraded it and charge a cost.

http: //www. obtain. com/3000-2160-10018456. html

You might still have the ability to find a no cost one, or find
a student the original totally free version.

Run the FTP course alone, set ” up ” your parameters,
and utilize it to transfer ones Perl scripts.

Good folks,
Thank you very much for all you help.
Precisely as it turned out, it wasn’t my signal but DWMX 2003. It does certainly not recognize $_POST. It prefers $HTTP_POST_VARS. So, now everything operates fine… I have much less hair from yanking it out however I did learn loads of new things.

This entry was posted in Web Design and tagged , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Related Posts

Leave a Reply

Your email address will not be published. Required fields are marked *