[Buffalo-pm] CGI Dynamic Content Drop-Down...

Robert Raux robert_raux at fastmail.fm
Mon Mar 8 10:27:32 CST 2004


Dan,

Use a reference to a data structure.

Read the directory of file names using the standard means into an array.

Then, using the CGI equivalent of whichever form object you'd like,
instead of a hardcoded array of values, pass in the array reference. 

Cheers,
Rob


On Mon, 2004-03-08 at 11:17, Daniel Magnuszewski wrote:
> Mongers,
> 
> I need to create a drop down list that will contain options, which
> will include all the files read from a directory. Obviously, things
> are added and deleted in the directory, and I need the drop down to
> reflect and be in tandem with the state of the directory. I've checked
> out a lot of docs and have only found hard coded option examples. Any
> thoughts/pointers? Thanks.
> 
> -Dan
> 
> 
> ______________________________________________________________________
> Do you Yahoo!?
> Get better spam protection with Yahoo! Mail
> 
> ______________________________________________________________________
> _______________________________________________
> Buffalo-pm mailing list
> Buffalo-pm at mail.pm.org
> http://mail.pm.org/mailman/listinfo/buffalo-pm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mail.pm.org/pipermail/buffalo-pm/attachments/20040308/86be158c/attachment.bin


More information about the Buffalo-pm mailing list