> While this all works, I'm going to need some way of setting 'time to run' and > a couple other things from the 'master' page. > > One (rather clunky) way would be to have a whole bunch of links of this type: > "Hour(tens) = 0, 1, 2" > "Hour(ones)= 0,1,2,3,4,5,6,7,8,9" > "Minute(tens)= 0,1,2,3,4,5 > "Minute(ones)= 0,1,2,3,4,5,6,7,8,9 > ... and so on... > Pretty ugly. > > So what I'm asking now is this: > > Is anyone aware of any way to have an input field on a page served by the > weblet...? > > It just occurred to me that I might get away with setting up a 'settime' > script in cgi-bin that could get the value from the address line in the > browser... something like: > > http://blinder/cgi-bin/settime?06:30 > > -but a 'real' input field on the page *would* be nicer... > > I realize that the weblet is really only meant to be a passive thingy, but I > thought I might as well ask anyway... In case somebody had already made > something that might be adapted...
What you want to do is use forms. Forms will work with the "GET" method, which is already supported in weblet. See any HTML/CGI reference for examples on how to do this. If you try to get real fancy, you may want to add the POST method (patch previously posted), but I think GET combined with forms will do everything you need. Several of the existing shell-script CGI programs already process GET provided data, so you can use these as a starting point. Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ------------------------------------------------------------------------ leaf-user mailing list: [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-user SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html
