![]() |
|
There are quite a few good resources around the Web. Both free, open-source, and paid scripts are available. Try using google.com to search for the script you're looking for. The most popular use of cgi is for form processing, and 90% of your needs can be solved by the venerable formmail, which requires no CGI programming. All it takes is writing/designing an html form and using a couple required fields. For your normal needs, go ahead and use the formmail.pl script that is located inside the systemwide cgi-sys directory. If using formmail to process orders SECURELY, ask us to install formmail.pl inside your cgi-bin. NOTE: The latest formmail script is version 1.9 released in August, 2001. If you are using an older version, please be sure to upgrade or ask us for help.
Always upload your cgi scripts in ASCII mode. That is the number one problem why cgi scripts don't work. FTP is the method you should use to upload your script. You should put your CGI scripts, not image or html files, into your cgi-bin directory. Your cgi-bin is found inside your www directory. The full URL path would be
Our server path to perl is #!/usr/local/bin/perl
If your script is getting an internal server error, you probably don't have the right permissions set for your script. SSH into your cgi-bin directory and do the following: chmod o+x file.name This will give universal execute permissions for that file. Or using WS_FTP, higlight the script and right-click. Then chmod--typically to 755 for cgi or pl scripts, and 777 for data files that visitors will be writing to. Back to Main Support Page |