1.

Solve : Configuring NMS formmail on local web Server?

Answer»

I am newbie to web-designing and trying to to CONFIGURE NMS formmail
step-by-step as shown on http://www.ironspider.ca/forms/nmsform.htm on
a local XAMPP installation.

PATH TO CGI-BIN: E:\E:\xampp\cgi-bin
Path to Perl: E:\xampp\perl\bin\perl.exe
Path to SendMail : E:\xampp\sendmail\sendmail.exe
PATH to feedback form: http://127.0.0.1/xampp/form.html

CODE OF FORM.HTML



Form Function Test



This is a simple form



First NAME


Last Name


E-Mail       

Pls Enter Your Comments:


 






When i hit submit Firefox gives me an error "Firefox does not know how
to open this address because the protocol isn't associated with any
program.

When i run the localhost\cgi-bin\FormMail.pl in Google Chrome it
provides the following
--------------------------------------…
Error: GET request
The HTML form fails to specify the POST method, so it would not be
correct for this script to take any ACTION in response to your
request.

If you are attempting to configure this form to run with FormMail, you
need to set the request method to POST in the opening form tag, like
this:

FormMail © 2001-2003 London Perl Mongers
--------------------------------------…

Pls help me resolve this error.

Thanks for your kind suggestion and time.I don't know Perl, but I can spot one definite error.

Quote
Code: [Select]<form action="E:\xampp\cgi-bin\FormMail.pl" method="POST">
That's what you have. That way, the file "FormMail.pl" will not be RAN through the server. You need to go to "http://localhost/cgi-bin/FormMail.pl" or "http://127.0.0.1/cgi-bin/FormMail.pl".


Discussion

No Comment Found