I'm just beginning my experiments with python for cgi-s.
The first goal is a mail form in python without a driving html-document.
i.e.: as I don't want form definitions and the cgi program to live in
different files (or even directories) my mailform program sends the mailform
html doc when called without queries.
As this looks extremely ugly in the python program, I'll try to build some
functions for constructing html-output later...
...but first, the mailing part will be polished...
For now this program
* outputs the html form when called without args (from hhtpd's point of
view)
this is the definition of all texts and fields
* does some checks on the passed arguments and displays 'em instead of
mailing it to somewhere
(I'm still experimenting...
...and there's really no lambda in this program ! ;-)
)
Sure this is a small thing, but if someone is interested in simple
examples... ;-)
As this is not part of my daily work, it will take some days till this is
finished and polished enough. Please expect no wonders as I'm definitely
a cgi beginner...
-- Ulf Bartelt | 2:2437/120.666@fidonet.org | bartelt@sun2.isaf.tu-clausthal.de | | stub@linux.rz.tu-clausthal.de