help with this simple DB script

trebucket at trebucket at
Tue May 16 21:51:19 EDT 2006

This is probably causing a problem:

It should be "#!", not "!#".

If that doesnt' work, add this line at the top of your script, to check
that the script is begin executed:

print "Content-Type: text/html\n\n"
print "Hello, World!"

If you still get an Internal Server Error put the following before you
import MySQLdb:

import cgitb; cgitb.enable()

Hope this helps,

- Alex Ross

More information about the Python-list mailing list