Return to Snippet

Revision: 23370
at February 4, 2010 22:04 by fuzzylollipop


Initial Code
#!/usr/bin/env python

import os

print 'Content-Type: text\html

'
print '<h1>Server CGI Environment</h1></br>'
print '<ul>'
for param in os.environ.keys():
    print '<li>%s = %s</li>' % (param,os.environ[param])
print '</ul>'

Initial URL


Initial Description


Initial Title
Get CGI Server Environment Variables

Initial Tags
python

Initial Language
Python