Gold Vision Communications / USA
 WEB3.NET
Serving the Multimedia Community since 1989.
German Site | Spanish Site 

 Web Hosting

 Virtual Dedicated Servers

 Domaincheck

 Order

 Order Status

 Support

 Contact us

 Download

 Network

 Network Status

 Webdesign / Templates

 Make Payment

 Terms & Conditions

 Imprint

 Legal Notices

 Privacy Statement
  Support
Perl / CGI

All Standard an Pro accounts can use Perl5 CGI scripts. Perl gives you full access to all files in your rootdirectory /.

CGI scripts must have the extension .cgi or .pl (e.g.. counter.cgi), and could be located anywhere within your document root /htdocs. The extension indicates the scripts as executable. No addition chmod is required. In addition, the common first lines like #!/usr/local/bin/perl or #!/usr/bin/perl are not necessary either. To have your own /cgi-bin/ directory, simply create one ( /htdocs/cgi-bin ).

Accept sendmail there are no other executables in your rootdirectory, so subshells or commands like system oder exec do not work.

Sendmail is located at /bin/sendmail, and will be called in the usual way:

open(MAIL, "|/bin/sendmail");
print MAIL "To: you\@yourdomain.com\n";
print MAIL "From: me\@mydomain.com\n";
print MAIL "Subject: A subject\n";
print MAIL "\n";
print MAIL "A message from me to you.\n";
close(MAIL);

Please note, that the mail header (die Zeilen To:, From:, Subject: etc.) must be seperated from the message body by a blank line.

For more information cosult the Perl Man Pages.


Questions ?
Please check our
Frequently Asked Questions section or contact our support team.

 
© 1998-2007 Gold Vision Communications All Rights Reserved.