mysql - python cgi connection

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sudhakaranr
    New Member
    • Dec 2006
    • 24

    #16
    Ok barton..No problem....

    Comment

    • cuties
      New Member
      • Jan 2007
      • 8

      #17
      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:

      Code:
      <form action='http://username/cgi-bin/cgi-script' method ='post/get'>
      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.

      with this it should work since your database has no prob.... try thing.

      Comment

      • cuties
        New Member
        • Jan 2007
        • 8

        #18
        sorry there was an error in the previous wan...i hv corrected it here....

        Originally posted by cuties
        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:

        Code:
        <form action='http://host/cgi-bin/cgi-script' method ='post/get'>
        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.

        with this it should work since your database has no prob.... try thing.

        Comment

        • laMeckley
          New Member
          • Feb 2008
          • 1

          #19
          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

          Working...