<?php
phpinfo();
?>
#!/usr/bin/python
print "Content-type:text/html\r\n\r\n"
print '<html>'
print '<head>'
print '<title>Python program in cgi-bin</title>'
print '</head>'
print '<body>'
print '<h2>This Python program is running from the cgi-bin directory.</h2>'
print '</body>'
print '</html>'
Spring 2017, CS-160-03:
Lectures:
Assignments:
Handouts:
Programs: