WWW-SQL is one of the first pieces of free software I wrote, back when
I was in university. It is a CGI script that allows simple programs
to be embedded in web pages, with access to either a
The provided language was based on that provided by the W3-mSQL tool
developed by Hughes Technologies for their
I haven’t touched the code base in two decades, and the implementation
is not great security wise (it wouldn’t be too difficult to write a
page vulnerable to SQL injection attacks or cross-site request
forgery, for instance). So the code is mostly of historical interest.
For new projects, I’d suggest using a well maintained framework like
The current version is 0.5.7. It doesn’t add any new features if you
don’t use the new scanner. If you have been testing it, you will find
support for while loops. Here is the relevant section of the
- Fixed a small inconsistency between the new and old scanners, so
that the new one recognises <!SQL as well as <!sql.
- Made the new scanner the default for compiles. You can use the old
input scanner with the --without-new-scanner argument to configure.
- Added a sentance to the ftime function documentation to clarify that
the offset is given in seconds.
- Now AFFECTED_ROWS and INSERT_ID are set for failed queries (to 0 and
- Added the uinclude command. It is identical to the include command,
except that it is executed unconditionally (even if shielded by an
if statement). This may be more useful to some people.
You can also review the complete Changelog
At the moment, the only documentation is the manual distributed with
the source. An online version exist on
this web site.
The source of the last release is available from the Ibiblio software