I have no code (really) written yet I am just trying to understand the process(es) I am about to get involved in.
I want CGI to create a web page on the fly based on the contents of a directory local to the webserver and make buttons that correspond to the files for downloading/viewing. The Web Server is a Domino 5.0.8 server, the OS is NT4 SP5. I currently do this in Notes and it is fairly secure but it is bulky and frankly I'm not so sure I want to make Notes dance anymore (read Lotus Script is no fun and Formula language is making me insane.) So I thought, "Hey the rest of the planet uses this crazy CGI; why not me?"
Here's where my troubles start though -- I don't understand how to tell the CGI.pm how do do things I haven't already told it. Like;
print p ("How many scoops? ", popup_menu ("scoops", [1..5])) ;
I have told (well Randal Schwartz told) scoops that it would contain 1, 2, 3, 4, 5. I need
1..5 to be generated when the user hits the page. I need the script to read the directory at that time. I don't know how to make things happen when requested. I could proabably setup a DB (MySQL?) and have the CGI script read the DB table that contains the contents of the directory but that seems like an extra step or two.
Clearly I am confused. help?
--
lmoran@wtsgSPAM.com
print "\x{263a}"