Lines Matching refs:cgi
1 :mod:`cgi` --- Common Gateway Interface support
4 .. module:: cgi
16 **Source code:** :source:`Lib/cgi.py`
34 Most often, CGI scripts live in the server's special :file:`cgi-bin` directory.
64 .. _using-the-cgi-module:
66 Using the cgi module
69 Begin by writing ``import cgi``. Do not use ``from cgi import *`` --- the
111 form = cgi.FieldStorage()
252 import cgi
253 form = cgi.FieldStorage()
264 These classes, present in earlier versions of the :mod:`cgi` module, are
279 .. _functions-in-cgi-module:
391 usually this is in a directory :file:`cgi-bin` in the server tree.
408 is usually the server's cgi-bin directory) and the set of environment variables
449 installing a copy of this module file (:file:`cgi.py`) as a CGI script. When
452 installed in the standard :file:`cgi-bin` directory, it should be possible to
457 http://yourhostname/cgi-bin/cgi.py?name=Joe+Blow&addr=At+Home
464 Home" and "name" with value "Joe Blow"), the :file:`cgi.py` script has been
468 The next step could be to call the :mod:`cgi` module's :func:`test` function
471 cgi.test()
474 :file:`cgi.py` file itself.