Merchant Accounts - Accept Credit Cards Online

perl

Perl Scripting

 
The path to perl is:  #!/usr/bin/perl
This path needs to be on the very first line of all your perl programs.

Where to upload perl scripts:
All perl programs need to be uploaded to your "cgi-bin" directory.
Perl programs will not work outside this directory.
For example, if you have a perl program called:  test.cgi
and uploaded it to your "cgi-bin" directory, then you can call it on the internet using:
http://your-own-site-name.com/cgi-bin/test.cgi

What permissions should I set my script as?
Scripts should be able to run using 700. If it will not run as 700, then you may need to use 755.

What is the path to the SendMail Program?
/usr/sbin/sendmail

My script shows "internal server error," how do I tell what is going on?
We do not have error logs available, but this should not prevent you from printing out the error message.
To see what is causing the error, add the following line of code to your .cgi script.
You can add this to your second line.

use CGI::Carp "fatalsToBrowser";

What this does is to print all error messages to your browser. It shows the exact same thing as what
would normally show in a server error log. It is terrific for troubleshooting.

If you get the "internal server error," check your script permissions first to make sure it has
the proper permissions and has the executable bit set.

What is the absolute path to: (Use the following format, but do not take it literally!)
cgi-bin directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/cgi-bin/
public  directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/public/
private directory:  /services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/private/

access_log:

/services/webpages/
FirstCharacterOfDomain/SecondCharacterOfDomain/your-domain.com/logs/access_log

Just as an example using domain name:  HostSite.com
The absolute path to the cgi-bin directory for this case would be:
/services/webpages/h/o/hostsite.com/cgi-bin/

Follow the example format for hostsite.com to derive the absolute paths for your own hosting domain name.

 

Submit A Support Request and Get An Answer Back Quick. Try it!

Click the Checkbox to Help Us Verify:  
Question Regarding Subject:  
Enter the question you want to ask us:
(remember to include your domain name if applicable)
 
Provide your email address so that
we can reply to your question.
Your Email Address:
Please provide an optional phone number
in case we need to contact you for clarification.
Your Phone Number: