T
Titi Anggono
Here is my code in cgi.
=============================
#!/usr/bin/python
print "Content-Type:text/plain\n\n"
# python code here (create a simulation or graphics)
========================================
The python code is ok when I run it in executable file
..py.
Friend told me to change the default header in
httpd.conf from text/plain to
application/octet-stream. But, still doesn't work.
thanks
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
=============================
#!/usr/bin/python
print "Content-Type:text/plain\n\n"
# python code here (create a simulation or graphics)
========================================
The python code is ok when I run it in executable file
..py.
Friend told me to change the default header in
httpd.conf from text/plain to
application/octet-stream. But, still doesn't work.
thanks
First, read this:
http://www.catb.org/~esr/faqs/smart-questions.html
Then, come back and give us some substantive
information about your
problem. A small example of code that you think should >work, but
doesn't, will help us help you.
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
will be very happy.hi all,
I have tried making a simulation with python. I want it to be shown at
a web. It is ok when I run it. so, I decided using cgi. but, when I try
it using a web browser it doesn't work.
Is it problem in the header or something else ?
If there are any suggestions about this problem, I
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com