PDA

View Full Version : cgi newbie! need help with form to emial please!!


clearmedia
12-07-2005, 12:43 AM
hi all,

i have a html form and a email template on my server.

form: http://www.chrisjmartin.com/EMAIL/infoForm.html

template: http://www.chrisjmartin.com/infoForm.txt

I'm not sure how it all works, can someone help me out with the scripting etc. i need to put in the form action?

It currently comes up with "Form was not processed due to an error.

403 No variable substitutions in template

/home/chr6817/public_html/cgi-bin/infoForm.txt

cgiemail 1.6"


HELP!!! (and thankyou in advance)

mlseim
12-07-2005, 03:27 AM
With the info you provided, I'm guessing your problem is the Perl script.

1) Your form has this path to the script:
http://www.chrisjmartin.com/cgi-bin/cgiecho/cgi-bin/infoForm.txt

I'm guessing it should be:
http://www.chrisjmartin.com/cgi-bin/infoForm.txt

2) infoForm.txt should be a Perl script ... I'm guessing it's not a script.

You'll need to find the Perl script (or they may call it a "cgi script") that
is supposed to be used ... is this a script that you downloaded from
somewhere? ... or did your webhost supply it for you?

=========================

There's tons of form email threads on this forum that discuss the best
options and best scripts to use for processing forms. Do a search.

Also, you may or may not be familiar with how to upload and set permissions
for Perl scripts located in your cgi-bin directory. Do a search on Google
for some Beginner Perl tutorials.

Hope that helps:)