Simplistic Technologies > Support > Frequent Questions > Cgi Perl

Frequent Questions

CGI/Perl

What is the path to Perl? Sendmail? Date?

Answer

The paths are as follows:

Perl - /usr/bin/perl
Sendmail - /usr/sbin/sendmail
Date - /bin/date

What version of Perl are you running?

Answer

The current version running is Perl 5.60

How do I upload CGI/Perl files? Where?

Answer

CGI/Perl files should be uploaded through an FTP program in ASCII mode.  You'll also need to change the permissions to 755.  CGI scripts should be placed in the provided cgi-bin folder.

How can I tell if the CGI/Perl file has been set to 755?

Answer

Look for the file to have the following flags set drwxr-xr-x

Where can I find a formmail script to use?

Answer

How do I include a CGI script on a web page?

Answer

Your page must end in .shtml to utilize this item and should not be used for a script such as FormMail.  To include a CGI script into a Web page, you can use this:

<!--#include virtual = "cgi-bin/yourscript.cgi"-->