Superbase Internet
Server
This includes a licensed copy of Superbase with the DLL extensions
and SBP program designed by GeoMetrix. The SBISERVE.SBP program
must be executed to initialize the DLL's and set up the correct
system variables.
After this is done Superbase will return to native mode.
This means that you do not require an event-loop or "Process"
to be active while you access Superbase via CGI. You may simply
write dynamic HTML output using the Superbase editor and ALT-TAB
to your browser to test it.
To reference a Superbase routine via CGI simply include a
reference to the SBHTML.EXE file and pass in the name of an
SBP program file to be executed. When the program is run it
will generate content to send back to the client/browser.
For example:
The URL "http://www.geometrix.bc.ca/cgi-dir/sbhtml.exe?mysbp.myproc"
will execute the sbhtml.exe program and establish a DDE conversation
with the Superbase Internet Server. Once connected the program
will pass in the name of a program file to execute, which
in this case is mysbp, and
the name of a sub-routine, myproc()
in this case. The Superbase program is now responsible for
generating the content to send back to the client/browser.
|