Hi BcNexus,
Me and my boss found the problem and fixed it locally. There is a problem in Python Lib for CGIHTTPServer.py and cgi.py files. The file is unable to send the environment variables through the fork. It was not workiing on windows too, so we had to write an XML file and send...
There is a CGIHTTPServer running on my machine. I wrote 2 python scripts, one will take the user input data and the other will process it. I tried using both GET and POST method types to post my data in the first script, but I don't know whats happening, the data is never received by the second...
Hi Feherke/paul,
I tried even with text option like below
print "<input type=text name=user size=25 maxlength=35 />"
It didn't work.
The triple quotes are basically for holding strings and the end of line is not needed to be explicitly specified when you use matching """ or...
The below content is for first script
import cgi
#import cgitb; cgitb.enable()
print "Content-type: text/html"
print
print "<html>"
print "<head><title>From CGI Test Program</title></head>"
print "<body>"
print "<h1>"
print "WOW! I was created by a CGI program!!"
print "</h1>"
print "<form...
Yes paul, my fields are inside the form tags and I specify my ip in the URL, due to some reason I won't get connected if I use "localhost" in my URL.
This is an HTML page I am using python script to generate the HTML output, so you are good even if you don't know python, but you should be aware...
There is a CGIHTTPServer running on my machine. I wrote 2 python scripts, one will take the user input data and the other will process it. I tried using both GET and POST method types to post my data in the first script, but I don't know whats happening, the data is never received by the second...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.