Okaaaaaaay, so, I got all my paths correct, chmoded properly AND uploaded in ASCII and not binary.
The script in question :
the page I want to use it on :
and here's the readme file :
How To Install:
First of all you need to open up formmail.cgi and check that the first line of code points to the location of Perl on your server.
Then upload template.html and formmail.cgi.
CHMOD the .cgi files to 755, and the .html file to 666.
Then in formmail.cgi edit the path to sendmail for your server (normal locations are, /usr/lib/sendmail, /usr/bin/sendmail or /usr/sbin/sendmail). Then upload formmail.cgi to your server again. Now we have the actual script hopefully set up correctly we need to create the forms.
There are several HIDDEN variables that need to be defined. These are;
recipient - This is obviously the person you want to receive the data from the submission. Example HTML code;
<input type="hidden" name="recipient" value="www@youradds.com">
sendthanks - If set to 'yes' (case sensitive) then the email address submitted by the will be sent a 'received' email to confirm their email has been submitted. Example HTML code;
<input type="hidden" name="sendthanks" value="yes">
subject - If left blank (or not entered) this will be replaced with 'Form Submission'. Example HTML code;
<input type="hidden" name="subject" value="Form From somepage.html">
redirect - This is where the user will be sent to once the email(s) have been sent. If left blank a 'Thanks' page will be shown to confirm the sending. You can edit the look of the submission template very easily by editing the HTML in template.html. Where you want the code to appear just put message where you want the content to appear. The template is thus very customizable! Example HTML code;
<input type="hidden" name="redirect" value="http://www.vgacd.com">
There are also a couple of text boxes that need to exist for it to work correctly. These are identified below;
name - This is so you know what to call them when replying to submissions. It is also checked to see if it is left blank. Example HTML code;
<input type="text" name="name" size="20">
email - This is their e-mail. If left blank an error message will be shown. It also checks to see if the format is correct. Example HTML code;
<input type="text" name="email" size="20">
Now, I have ALL that in there already, why won't it work??
Cheers,
Anthony
The script in question :
the page I want to use it on :
and here's the readme file :
How To Install:
First of all you need to open up formmail.cgi and check that the first line of code points to the location of Perl on your server.
Then upload template.html and formmail.cgi.
CHMOD the .cgi files to 755, and the .html file to 666.
Then in formmail.cgi edit the path to sendmail for your server (normal locations are, /usr/lib/sendmail, /usr/bin/sendmail or /usr/sbin/sendmail). Then upload formmail.cgi to your server again. Now we have the actual script hopefully set up correctly we need to create the forms.
There are several HIDDEN variables that need to be defined. These are;
recipient - This is obviously the person you want to receive the data from the submission. Example HTML code;
<input type="hidden" name="recipient" value="www@youradds.com">
sendthanks - If set to 'yes' (case sensitive) then the email address submitted by the will be sent a 'received' email to confirm their email has been submitted. Example HTML code;
<input type="hidden" name="sendthanks" value="yes">
subject - If left blank (or not entered) this will be replaced with 'Form Submission'. Example HTML code;
<input type="hidden" name="subject" value="Form From somepage.html">
redirect - This is where the user will be sent to once the email(s) have been sent. If left blank a 'Thanks' page will be shown to confirm the sending. You can edit the look of the submission template very easily by editing the HTML in template.html. Where you want the code to appear just put message where you want the content to appear. The template is thus very customizable! Example HTML code;
<input type="hidden" name="redirect" value="http://www.vgacd.com">
There are also a couple of text boxes that need to exist for it to work correctly. These are identified below;
name - This is so you know what to call them when replying to submissions. It is also checked to see if it is left blank. Example HTML code;
<input type="text" name="name" size="20">
email - This is their e-mail. If left blank an error message will be shown. It also checks to see if the format is correct. Example HTML code;
<input type="text" name="email" size="20">
Now, I have ALL that in there already, why won't it work??
Cheers,
Anthony
Comment