help with this simple DB script
trebucket at gmail.com
trebucket at gmail.com
Tue May 16 21:51:19 EDT 2006
This is probably causing a problem:
!#/usr/bin/python
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