Hi,

I'm using <cfdirectory> to list files in a specific direectory. What I 
would like to do is have a "preference" page with checkboxes
with all the possible filename extensions. By "checking" a box(s), this 
information will be saved and when the user does another
listing of that directory only the file extensions which were selected in 
the "preference" page would be listed.

Users have to log in with a username/password so I guess the above could be 
done based on authentication.

Has anyone done anything like this? If so, how do I go about doing this.

For example, below would be the directory listing.


+ my documents
+ my work
  |-- text1.txt
  |-- text2.txt
  |-- word1.doc
  |-- word2.doc
  |-- init1.ini
  |-- init2.ini
  |-- pic1.psd
  |-- pic2.psd
  |-- pic1.gif
  |-- pic2.gif
+ software

On the "preference" I would have something like:


                                My Preferences

By checking the below those file extensions will bee omitted from the 
directory listing.

[   ]  .txt
[   ]  .doc
[   ]  .ini
[   ]  .psd
[   ]  .gif

                                SUBMIT BUTTON



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to