Common Gateway Interface (CGI) technology is widely used by many web application servers for rendering dynamic content to a client computer's web browser.
DDaudalagidfez uma citaçãohá 2 anos
For example, in Apache server installation, its name is htdocs. On Windows IIS server, its name is wwwroot
DDaudalagidfez uma citaçãohá 2 anos
The AddHandler cgi-script directive tells the server which types of files are to be used as cgi scripts. Ensure that the.py
DDaudalagidfez uma citaçãohá 2 anos
First line in the script is called a shebang.
DDaudalagidfez uma citaçãohá 2 anos
Most common use of the POST method is to send HTML form data to a particular URL by specifying its method attribute to POST:
DDaudalagidfez uma citaçãohá 2 anos
One of the advantages of using the POST method is that there is no restriction on its data size. Also, the request query string is not exposed in the browser's URL.
DDaudalagidfez uma citaçãohá 2 anos
This module is responsible for producing a detailed trace back report in case of an uncaught exception in the script.
DDaudalagidfez uma citaçãohá 2 anos
Python library also contains cgitb module.
DDaudalagidfez uma citaçãohá 2 anos
This object can be considered as a dictionary object with the name attribute of HTML form element as key and the data entered as value.
DDaudalagidfez uma citaçãohá 2 anos
import cgi form=cgi.FieldStorage()
fb2epub
Arraste e solte seus arquivos
(não mais do que 5 por vez)