CGI and cgi-bin

CGI stands for Common Gateway Interface.

Our servers have the capability to run CGI scripts based on Perl 5.60 and ASP (Active Server Pages) languages. ASP is our language of choice, since it is very powerful with the growing family of ActiveX.

All folders are capable to run ASP and/or Perl scripts, executable files (e.g.: .exe, .dll) are NOT supported
on our system.

Simply upload your script into any folder of your choice and it should be ready to run.

PERL 5.60

    1. .cgi and .pl extentions are supported.
    2. The mail function is supported by an ActiveX component.
    3. Location of Perl (#!/usr/local/bin/perl) is not needed.
    4. Physical path: "/wwwroot/PUT_YOUR_LOGON_NAME_HERE"
      (e.g. if your domain is foo.com, your logon name is foo)


Mail system for Perl - ActiveX -

use OLE;
$Mailer = CreateObject OLE "SMTPsvg.Mailer";
$Mailer->{'FromName'} = 'YOUR_NAME_HERE ';
$Mailer->{'FromAddress'} = 'YOUR_EMAIL_HERE ';
$Mailer->{'RemoteHost'} = 'mail.elosoft.com';
$Mailer->AddRecipient(' NAME_HERE', ' EMAIL_HERE');
#$Mailer->AddCC(' NAME_HERE', ' EMAIL_HERE ');
#$Mailer->AddBCC(' NAME_HERE', ' EMAIL_HERE ');
$Mailer->{'Subject'} = 'Test mail from Perl ';
$Mailer->{'BodyText'} = "This is a test from PerlScript\n\nLeslie ";
#$Mailer->ClearAttachments();
$Mailer->AddAttachment ("YourFileName1 ");
#$Mailer->AddAttachment ("YourSubFolder\\YourFileName2 ");
if ($Mailer->SendMail())
       { print "Success..." }
else
       { print "Failed..." }



[back]