Payments and use of the script:
Q) Is the free scripts free for any use?
Setting up the scripts:
Q) It's not working, why?
Q) How do I find the path and URL for my site?
Q) I don't know where to start, help!
Q) What do I edit the script with?
Q) I don't understand the difference between a Path and a URL
Q) What do I use to upload my scripts?
Q) What is CHMOD and what settings do I need?
Q) Can I use both Windows and Unix hosting?
Form questions:
Q) I want to do something a little different with my form
Q) Can I disable the submit button after it has been clicked
Customization and installation:
Q) I am stuck, can you install the script for me?
Q) My UNIX hosting requires UNIX format scripts, how do I do that?
Common CGI script errors:
Q) What is "Error 404 File can not be found"?
Q) What is "Error 500 Internal Server Error"?
Q) What is "Error Premature end of script headers"?
Q) The script just opens so I can see the code
Q) I keep uploading the file but get the same error
Q) I get the error "Can't open file"
Q) I don't get any emails, what's wrong?
Other Questions:
Q) Can I add more than one email address in the 'to' box?
Q) Will the scripts work in both Netscape and IE?
Q) Can the 'From' email address show my name and the email address?
FGA - Frequently given answers
Payments and use of the script:
Q) Is the free script free for
any use?
A) Yes, the free script is free to use for commercial and non-commercial use.
You may not sell the script or give them away to anybody else or use them or
any part of them in another script that you distribute.
Setting up the scripts:
Q) It's not working, why?
Check your file and directory permissions. Improper permissions are the most
common cause of errors. Be sure you uploaded the files in ASCII mode. Make sure
that the settings you entered in the configuration section are exactly correct,
download the tester.cgi script to check your path to perl the path to the files
and URL details. Check with your hosting company most have a page with CGI
information. See the instructions and this page for more tips and advice on how
to find and fix problems.
Q) How do I find the path
and URL for my site?
A) Your host company can tell you. However I have a free script to help you find
out the correct information called tester.cgi
Q) I don't know where to start,
help!
A) You will need experience with setting up a CGI script on a website, following
the instructions for the script and visit our free basic guide.
Q) What do I edit the script with?
A) You edit the script using Note Pad, do not use any other software as it will
damage the script and information you can not see.
Q) I don't
understand the difference between a Path and a URL
A) A URL is the web address used so the URL to our website is
http://www.Form2Email.net/ please note the last slash on the end. The path is
like the path on your PC to a file, this is an example of a path on my PC C:\My
Documents\Form2Email.net\cgi-bin\ and that is how the path would look on a
windows computer, on a UNIX (most internet servers) it would look like this:
/home/vhosts/youraccount/cgi-bin/csvnews.txt If you do not know yours download
our tester.cgi
script and run this in the directory you will be using, it will tell your the
path and URL.
Q) What do I use to upload my
scripts?
A) Any FTP software will do to upload your scripts. The file must NOT be
uploaded as binary. it simply will not work if you do. Check that your FTP
client uploads .PL files as ASCII. I use software from Cute FTP to upload filles
www.cuteftp.com
Q) What is CHMOD and what
settings do I need?
A) Once uploaded you will need to CHMOD the script and all the files so they can
read and write on your server. Do this using your FTP client, right click on the
files and select "properties" or "permissions" (depending on
your FTP client) and set the scripts permissions to 755. On servers where the
files are in an non-public directory you will need to set them to 777. If you
are unsure ask your hosting company.
Q) Can I use both Windows and
Unix hosting?
A) The scripts are tested on a Unix server NOT Windows. Each server is set-up in
a different way, most will run the scripts without issue.
Form questions:
Q) I want to do
something a little different with my form
A) Yes, you can do some very cleaver special features using a web form and
Form2Email.net. I suggest you take a look at javascript.internet.com.
Q) Can I
disable the submit button after it has been clicked
A) Yes you can. Use the JavaScript from the javascript.internet.com website.
Customisation and installation:
Q) I am stuck, can you
install the script for me?
A) Yes, to have the script and basic form setup on your server will cost $99.
Q) My
UNIX hosting requires UNIX format scripts, how do I do that?
A) The scripts are provided in Windows format, this is fine to edit with Notepad
and will run on most UNIX servers. Some servers require strict UNIX format
however. Download a text editor like NOTEPAD++
and then save the script in UNIX format.
Common CGI script errors:
Q) What is
"Error 404 File can not be found"?
A) The URL address you put in your browser is wrong. Check the web site address
and the folder name, finally the script name. Remember this is case SenEsitIve.
An occasional, if rare error, is if you have created a cgi-bin of your own in
your web space however the server may ignore this and use it's own cgi-bin you
have not got access to.
Q) What is
"Error 500 Internal Server Error"?
A) The Path to Perl or CHMOD of your file or directory may be wrong. Try CHMOD
all the files and directory again. Your server may not like the CHMOD setting
ask you host what you should be using. Check you did not open the script with
anything other than notepad. Check your log to find out more. Also try putting
the code below directly after your Path to Perl this will stop and report the
script error in more detail.
#!/usr/sbin/perl
use CGI::Carp qw(fatalsToBrowser);
Q) What is
"Error Premature end of script headers"?
A) The CHMOD of your file or directory may be wrong. Try CHMOD all the files and
directory again. Check you did not open the script with anything other than
notepad.
Q) The script just opens
so I can see the code
A) Some servers do not like .pl try changing it to .cgi and some servers don't
like .cgi so try .pl Remember to CHMOD the file again!
Q) I keep uploading
the file but get the same error
A) Some servers and FTP software can keep a copy of the file before the edit you
have made, so delete the file on your server, disconnect from the internet, and
restart you computer.
Q) I get the error
"Can't open file"
A) The file has been found on the server, but the script has not got permission
to open it. Check you CHMOD on all the directories and files.
Q) I don't get any emails,
what's wrong?
A) Check your path to Sendmail, download the tester.cgi
script to ensure you have the right Sendmail. if the script is writing the data
to the log, but you don't get any email then ask you host to check the logs to
see why.
Other Questions:
Q) Can I add
more than one email address in the 'to' box?
A) Yes, on most but not all servers. You just add a comma , between the address.
With some servers however this feature is blocked to stop SPAM.
Q) Will the scripts
work in both Netscape and IE?
A) Yes. The scripts basically just print out HTML for any browser
Q) Can
the 'From' email address show my name and the email address?
A) Yes, on most servers you can use the following format for the email address:
'"Your Name" <emailaddress@your-website-url.co.uk>';