Perl Script and PHP Script

 

Q: Why is my perl script printing its entire source code instead of running it?

A: Make sure you name your perl script to .pl before running it.  If it is absolutely necessary that you run your script under different file extensions (such as .cgi or .plx), please contact support for further assistance.

   

Q: Why does my SSI #exec cgi="test.pl" return extra header info?

A: That is because your are running on a Windows 2000 advance server. To fix it, you will need to put the following line before you call the SSI.

<meta name="hideHeader" content=""

Example:

<meta name="hideHeader" content=""
<!--#exec cgi="test.pl"--> 

 

Q: What is the path to my Perl Script?

A: The path is c:\perl\bin

 

Q: Where is my cgi-bin directory?

A: Your account is already enabled to run scripts.  You do not need a cgi-bin to run scripts. To implement, simply upload your scripts to your account. You also have the option of creating a CGI-BIN folder yourself and running your script from within.

 

Q: How do I send e-mail with Perl Script?

A: Sending e-mail with PERL scripts in a Windows 2000 server is different than sending mail in Unix systems.  There is no sendmail program available to use.  To send email, use this Windows compatible perl script.

 

Q: What is the location of the SendMail program?

A: Sendmail programs do not exist in the Windows environment, therefore there is no location. 

 

Q: What is my physical path?

A: You can see your physical path by logging into your Hosting Control Panel and reviewing the list on the left.

 

Q: Do you have Form Mail available for use?

A: Yes. There are two ways:

1) Use our site builder wizard to create an email forum page or,

2) Review this e-mail form in HTML code. Feel free to make any modifications to suit your needs.

 

Back to FAQ