Perl and Python scripts

我们的美国达拉斯 和西雅图支持 Python

These scripts must have 755 permissions.

Perl = .pl
Python = .py

Example perl script:

#!/usr/bin/perl -w
print “Content-type: text/html\n\n”;
print “<html><head>”;
print “<title>CGI Test</title>”;
print “</head><body>”;
print “<p>Test page using Perl</p>”;
print “</body></html>”;

Example python script:

#!/usr/bin/python
print “Content-type: text/html\n\n”;
print “<html><head>”;
print “<title>CGI Test</title>”;
print “</head><body>”;
print “<p>Test page using Python</p>”;
print “</body></html>”;