FAQ

nIntroduction of basic knowledge of CGI.
CGI (Common Gataway Interface) can be written by many languages such as C++, Perl, Visual Basic...etc. CGI bring more interactive and effective website for your visitors. ..Top..

nWhat is "FULL FILE PATH" or "REAL FILE PATH"?
Full file path is the file path of your server side. You should ask your hostmaster about this. Most of server should post the information about it in their FAQ section. ..Top..

nWhat kind of server support CGI?
Our script works on most of UNIX or Linux systems. We don't really recommand using NT sever with our scripts. ..Top..

nWhere is the directory of "Perl" in my server?
In UNIX server or Linux there's a specific directory of "Perl" which must be setup correctly to make your scripts working. It looks like this:
/usr/bin/perl/
They must be in the 1st line of CGI scripts. If you don't know where they are, either you have to contact your hostmaster or use TELNET command "which perl" to detect it.
In NT server, they usually already setup in the path. ..Top..

nWhere is my "CGI-BIN"?
Your CGI-BIN should put under your root directory. Some server put them in different place or lock them up. You have to contact your hostmaster for more detail about your CGI-BIN. ..Top..

nWhat is "URL"?
URL = Uniform Resource Locator.
For example: http://www.yourdomain.com ..Top..

nHow to upload my CGI script?
All the CGI scripts must upload them with "ASCII" mode and set to "chmod 755" by FTP program.
Others like "*.htm", "*.html" and "*.txt" should upload them with "Auto" or "ASCII" mode and set to "chmod 666".
All the images like "*.gif" and "*.jpg" shoud upload by "Binary" or "Auto" mode. Directories for CGI scripts should "chmod 755", all other directories set by "chmod 777" if you are not sure how to set them up. ..Top..

nWhy I get those error message?
ndocument contain no data
If you recived message "document contain no data" that means your script is working but some setting is not correct.
Two possibilities:
1. The way you set the files and directories are not correct. Set "chmod 777" of the directory where all "*.txt" and "*.htm" stored. Set "chmod 666" for all "txt" and "htm".
2. The file path didn't set correctly in you scripts. Please contact your server to make sure where your file path is. ..Top..
nInternal Server Error
This is the most common error you may get. Neither your server doesn't support CGI nor you set your script incorrectly. To avoid the error like this we stronglly recommand don't try to modify the script other the "SETUP" area. ..Top..
nAccess denied
Your server doesn't support CGI-BIN. Especially for some web space which provide by your ISP or some free hosting services. We do have a list of hosting company which fully support or scripts. ..Top..


Click Here to Visit Our Sponsor
© 1998, 1999 Thanks CGI resources