Can I use Perl or CGI?
If you would like to use CGI scripts (Perl or otherwise) in your website, you will need to know the following:
- Every CGI script needs to have the executable flags turned on. Most FTP programs will let you set these flags through a “Get Info” or “Properties” window. If you are a shell user, you can simple type:
chmod a+x filename - If your script ends in “.cgi”, you can place the script anywhere in your website.
- If your script does not end in “.cgi”, you must create a folder called “cgi-bin” at the root of your website folder. For example, if your website was “retrixfanclub.com”, you would go into the “retrixfanclub.com” folder and create the cgi-bin folder in there.