ADDR Logo Effective Online Solutions
home | about us  | solutions | partners | careers | contact
1.877.ADDR.COM |   Chat with a Rep   |   Order Now Help Center   |   Control Panel 
Getting Started
FAQ - List of Frequently Asked Questions
How Tos
I am having a problem with...
Explanation of features
For advanced users
Glossary of terms
Quick submission forms for setup requests and reporting problems
Your Question Was...
  I am having a problem getting my CGI script to work ...
Here are the Top 10  reasons why a CGI script might not work:
  1. Your "@" signs are not escaped with a "\", email addresses in double quotes will not parse correctly without the backslash - example: "support\" is how it should look. Correct Perl syntax is always helpful.
  2. Your script was uploaded in BINARY mode instead of ASCII mode. The easiest way to check this is by telnetting to your shell server and just look at the CGI itself with "less", "more", or "cat". If you see ^M everywhere, then it was uploaded in binary mode.
  3. Your Perl script file does not have a *.cgi or *.pl extension.
  4. Your Perl is just broken. From the UNIX shell prompt, type "perl -wc filename.cgi" to test it.
  5. CGIs must have permissions of 755 or they will not execute. Click here to learn how to change permissions.
  6. If you are including a file such as it must have permissions of 644 to work. Click here to learn how to change permissions.
  7. CGIs execute from the current directory (where else?); always remember this when placing paths inside of the scripts.
  8. If you are using your CGI as an SSI (Server Side Include) a la <--#exec cgi=scriptname.cgi--> make sure the CGI itself is sending a mime type (like Content-type: text/html). Also, remember that all SSI files should have an extension of ".shtml".
  9. If your script came from some source other than please contact the author.
  10. Your script is using paths incorrectly. You should use paths as follows: /home/username/public_html to refer to your Website or if at all possible, use ./ for the current directory and ../ for the previous directory. Click here for the most common paths.

Please note: cannot help you with your CGIs other than stating the above. If you are having problems with your Perl script, contact the author or try issuing the command from a UNIX shell prompt:

perl -c [filename]

to have Perl check your script for errors. Also, you may find a useful link.

  Pages served today:
Emails processed today:
Today's new clients:
  Live Chat
  We'll Call You
All Testimonials
  About : Web Hosting : Web Design : E-Commerce : Reseller Program : Affiliate Program : Domain Lookup : Privacy Policy : Contact Us
   Copyright © 1997 - 2007, Inc. All rights reserved.