Please enable JavaScript to view this site.

thinBasic Help Manual

* * HELP & MANUAL PREMIUM PACK 4 DEMO VERSION * *

This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.

This version is copyright and may only be used for local testing purposes. It may not be distributed.

Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.

 

Description

 

CGI module provides support to quickly write powerfull Common Gateway Interface application.

See http://en.wikipedia.org/wiki/Common_Gateway_Interface for more detailed description of CGI.

 

How to use this module

 

Inside your script, before calling any module specific keyword, add the following:

 

USES "CGI"

 

thinBasic CGI main features

 

Each CGI session can be configured by a configuration file. Session settings are loaded from configuration file and changed, if needed, at run-time during script execution. GET and POST methods are handled and web data, where requested, is automatically encoded and decoded to/from hexadecimal espression.

Many built-in functions already developed: session variables, coockie file, session control like date of validity, file upload and more.

Session related information remains availables at server side even after sessions expires for easy inspection.

CGI activities can be traced in a log file giving you big activity details.

 

Since you are using script you can also build script 'on the fly' depending on user request.

 

How to configure your web server to work with thinBasic GCI script engine

 

Please refer here for details on how configure your web server to work with thinBasic scripts.

 

 

Created with Help+Manual 8 and styled with Premium Pack Version 4 © by EC Software