116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
any kind of program you like. But the creator of SQLite and Fossil is fond
of [https://www.tcl.tk|Tcl/Tk] and so he tends to gravitate toward Tcl-based
technologies like Wapp.) The fileup1 script is a demo program that lets
the user upload a file using a form, and then displays that file in the reply.
There is a link on the page that causes the fileup1 script to return a copy
of its own source-code, so you can see how it works.
<h2>3.0 CGI Inputs</h2>
The /ext extension mechanism is an ordinary CGI interface. Parameters
are passed to the CGI program using environment variables. The following
standard CGI environment variables are supported:
* AUTH_TYPE
* AUTH_CONTENT
|
|
|
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
|
any kind of program you like. But the creator of SQLite and Fossil is fond
of [https://www.tcl.tk|Tcl/Tk] and so he tends to gravitate toward Tcl-based
technologies like Wapp.) The fileup1 script is a demo program that lets
the user upload a file using a form, and then displays that file in the reply.
There is a link on the page that causes the fileup1 script to return a copy
of its own source-code, so you can see how it works.
<h2 id="cgi-inputs">3.0 CGI Inputs</h2>
The /ext extension mechanism is an ordinary CGI interface. Parameters
are passed to the CGI program using environment variables. The following
standard CGI environment variables are supported:
* AUTH_TYPE
* AUTH_CONTENT
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
* REQUEST_URI
* SCRIPT_DIRECTORY
* SCRIPT_FILENAME
* SCRIPT_NAME
* SERVER_NAME
* SERVER_PORT
* SERVER_PROTOCOL
Do a web search for
"[https://duckduckgo.com/?q=cgi+environment_variables|cgi environment variables]"
to find more detail about what each of the above variables mean and how
they are used.
Live listings of the values of some or all of these environment variables
can be found at links like these:
|
>
|
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
|
* REQUEST_URI
* SCRIPT_DIRECTORY
* SCRIPT_FILENAME
* SCRIPT_NAME
* SERVER_NAME
* SERVER_PORT
* SERVER_PROTOCOL
* SERVER_SOFTWARE
Do a web search for
"[https://duckduckgo.com/?q=cgi+environment_variables|cgi environment variables]"
to find more detail about what each of the above variables mean and how
they are used.
Live listings of the values of some or all of these environment variables
can be found at links like these:
|