PHP 7.4.33
Preview: cgi1.py Size: 400 B
//lib64/python2.7/Demo/cgi/cgi1.py

#! /usr/bin/python2.7

"""CGI test 1 - check server setup."""

# Until you get this to work, your web server isn't set up right or
# your Python isn't set up right.

# If cgi0.sh works but cgi1.py doesn't, check the #! line and the file
# permissions.  The docs for the cgi.py module have debugging tips.

print "Content-type: text/html"
print
print "<h1>Hello world</h1>"
print "<p>This is cgi1.py"

Directory Contents

Dirs: 0 × Files: 14

Name Size Perms Modified Actions
154 B lrwxr-xr-x 2020-04-19 21:13:39
Edit Download
400 B lrwxr-xr-x 2024-04-10 04:57:37
Edit Download
279 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
279 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
470 B lrwxr-xr-x 2024-04-10 04:57:37
Edit Download
729 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
729 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
151 B lrwxr-xr-x 2024-04-10 04:57:37
Edit Download
326 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
326 B lrw-r--r-- 2024-04-10 04:58:46
Edit Download
437 B lrw-r--r-- 2020-04-19 21:13:39
Edit Download
3.94 KB lrw-r--r-- 2020-04-19 21:13:39
Edit Download
5.25 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download
5.25 KB lrw-r--r-- 2024-04-10 04:58:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).