View Single Post
Old Dec 14th, 2005, 12:20 PM   #3
MegaArcon
Programmer
 
MegaArcon's Avatar
 
Join Date: Aug 2005
Posts: 66
Rep Power: 0 MegaArcon is an unknown quantity at this point
Whoops....guess your right about it sould be in the javascript forum...my bad....I was working with my python script so I thought python. -_-;;

Thanks for the help none the less! And I actually figured out my other problem (with the submit just printing the raw python file text) thanks to the help of one of my fellow programmers. ^_^

First off, I didn't have the script in a proper cgi-bin folder. Talk about your dummy mistakes.

Although when I had it in the right spot it still gave an error. Turns out when I was printing my content-type, I was not printing a return after it. Thus, that header was malformated and blowing up. I was doing something like:

print "Content-type: text/html"
print "Hello World"

instead of:

print "Content-type: text/html\n"
print "Hello World"

or

print """Content-type: text/html
"""
print "Hello World"

blah....today's just not my day...Thanks a lot! ^_^
MegaArcon is offline   Reply With Quote