I guess it depends on what you want to get out of it. In my case things needed user level security per forum/thread/post so to protect the attachments, I pipe the files out via jsp. I redundantly store things now, but I'm working on checksumming files and storing the chksum in a db. To prevent filename clashes, I store all files as #attachid#.dat
I can accomplish killing dupes by either symlinking subsequent instances to the original file, or by adding a file table to the db; then I'd have: forum/thread/post/(post-file)/file tables I store filename and content type in the file table so I can set headers when outputting In either case, email processing is a real tough beast to conquer. For example: HoF rejects mail sent from my blackberry, so I'm using the blackberry browser and posting this via hof.com :) Dov >> What I do is store all attachs in a db (msgid,filename, content type, byte >size, and cid, as well as a random attachid#) >> When I output the body html I use regex to replace img src=cid: with "img >src='url?msgid=idnum&cid=" >> Dov > >Other than storing in a database (store in folders) this is the thought I've >been bouncing. I will likely do a file comparison of new posts to prevent >many copies of the same graphic - (example: users that use a graphic as a >signature) and in that way just hold one copy of the graphic, all >referencing the same file. > >> > > and I can boo the code and apply to my application. >> > Boo? >> Yes. Sometimes it's important to instill some fear >> into your code, to show it who's boss. > >Who's the boss! You betcha! LOL > >Boo - as in "let's go take a boo"; TO: "examine", "observe", "take a quick >peek". Although, I see that a searching the net, this colloquialism isn't >shared by as many people as I thought (and I was pretty sure that the user >support group for the Use of Boo as Ocular Observation (UBOO) had a >membership of more than just 1. I appear to be wrong on that). Given that, >I've started a membership drive and a special awareness day. > >This Friday, 23 June 2006 is "Boo Day" >Spread the use of Boo. Use it in at least one sentence that day - as work >and at home. Helpful suggestions are: "Honey, can I take a quick boo at you" >and "I took a quick boo at your code, and find the transparency of your work >exemplary". > > >Stephen R. Cassady >http://www.Lopedia.com >Translating business needs into working successful technology ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244591 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

