Difference between revisions of "ScriptBasic:UsersGuide 2.3"

From ScriptBasic
Jump to: navigation, search
(New page: [Contents]<br/> :2. Using ScriptBasic<br /> =2.3. Writing CGI programs= [<<<] [[ScriptBasic:UsersGu...)
m (Protected "ScriptBasic:UsersGuide 2.3" [edit=sysop:move=sysop])
(No difference)

Revision as of 11:28, 4 December 2007


2. Using ScriptBasic

2.3. Writing CGI programs

[<<<] [>>>]

There are two ways to write CGI programs in ScriptBasic. The old way is just like in any other language: the basic program can access the environment, the standard input and standard output. This is all needed to write a CGI program, decode the CGI parameters and create the http response.

The better way is to use the CGI module delivered with ScriptBasic that automatically handles CGI input, CGI environment variables, creates the uploaded files and even supports some security settings. For more details on the CGI module read the separate documentation of the module named CGI.

[<<<] [>>>]