Ok barton..No problem....
mysql - python cgi connection
Collapse
X
-
-
in apache there is a folder called "www"....fo r me i save my html page there and under this html page there should be a form such as like this:
where the cgi-script is the cgi you wrote for your html.... did you configured your apache server? cgi script will be stored in the cgi-bin folder.Code:<form action='http://username/cgi-bin/cgi-script' method ='post/get'>
with this it should work since your database has no prob.... try thing.Comment
-
sorry there was an error in the previous wan...i hv corrected it here....
Originally posted by cutiesin apache there is a folder called "www"....fo r me i save my html page there and under this html page there should be a form such as like this:
where the cgi-script is the cgi you wrote for your html.... did you configured your apache server? cgi script will be stored in the cgi-bin folder.Code:<form action='http://host/cgi-bin/cgi-script' method ='post/get'>
with this it should work since your database has no prob.... try thing.Comment
-
Did you configure Apache yourself as well? Out of the box it probably doesn't recognize a .py as cgi script unless you got some special build.
I only ask because you mentioned the output was "just plain" in a previous post. This thread is rather old so I will wait before explaining >.<Comment
Comment