Portable Xbase Compiler CGI Demo[ Up | Copyright | Downloading X2c/cgi ]
Here are some examples of what you can do with X2c-cgi. The first are normal Dbase programs. The last is an example using the build-in template function that X2c/cgi has - it allows separating the database functions from the creation of the graphics of the web page.
[ A Form | Simple listing | Listing using a template ]
A real User
Thomas Register Regional Directories
600,000 companies in 2 gigs of databases - look for links using mcgi#
A Simple Form
The program - test_pgm.prg
List a Database
Run the program
See the program
List a Database using a Template
Run the program
See the program
See the template
Some template functions are:
- Returns value of expression - Just calls expression - for positioning ... - Output record block.. - Conditional display block... - Supresses next newline - Enable debug displays - Disable debug displays- Include file
Downloading X2c/cgi
You can get the X2c/cgi code by going to the X2c FTP site and into the cgi directory.
The current version is only available for Linux. You will need to get a copy of the x2c for linux by downloading x2c-linux-20.tar.gz and then you will be sent the extra cgi functions once your payment as been processed.