Thanks...I'll try it out... ;-)
At 06:33 PM 3/18/2002 +0000, you wrote: >Hi Phumes >You need to use database in this case . >1. Save the user id with file extension for the user in a table >2. Get the valid list of extension applicable for the user from the table >3. Loop through the directory to check the files which has got the user >file extension list and append only those file names in the array. > >4. Output the array with <a href> (pointing to the physical location of >file in server).. > >i hope this helps > >-Balaji > > >From: phumes1 <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: User Preferences >Date: Mon, 18 Mar 2002 13:16:18 -0500 > > >Hi, > >I have a web interface that lists files on the server. These files have >different file extensions. What I would like to do is omit certain files in >the listing based on the extension for different users. I'm not sure how to >go about it. > >By default certain exntensions will be omitted unless the user goes into >his/her "preferences" and "checks" on the input boxes to "enable" that >extension to be listed. > >Would I use a Access database for this? > >Any help would be greatly appreciated. > > > > > > >+-----------------------------------------------------------------------------------+ > >Philip Humeniuk >[EMAIL PROTECTED] >[EMAIL PROTECTED] >+------------------------------------------------------------------------------------+ > > > >------------------------------------------------------------------------- >This email server is running an evaluation copy of the MailShield anti- >spam software. Please contact your email administrator if you have any >questions about this message. MailShield product info: www.mailshield.com > >----------------------------------------------- >To post, send email to [EMAIL PROTECTED] >To subscribe / unsubscribe: http://www.dfwcfug.org > > > > >_________________________________________________________________ >Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > >------------------------------------------------------------------------- >This email server is running an evaluation copy of the MailShield anti- >spam software. Please contact your email administrator if you have any >questions about this message. MailShield product info: www.mailshield.com > >----------------------------------------------- >To post, send email to [EMAIL PROTECTED] >To subscribe / unsubscribe: http://www.dfwcfug.org +-----------------------------------------------------------------------------------+ Philip Humeniuk [EMAIL PROTECTED] [EMAIL PROTECTED] +------------------------------------------------------------------------------------+ ------------------------------------------------------------------------- This email server is running an evaluation copy of the MailShield anti- spam software. Please contact your email administrator if you have any questions about this message. MailShield product info: www.mailshield.com ----------------------------------------------- To post, send email to [EMAIL PROTECTED] To subscribe / unsubscribe: http://www.dfwcfug.org
