PDA

View Full Version : Is there a hack where attachments dont go into the database?


shakiraholics
05-16-2003, 11:11 PM
Hello all

Sorry if there is one already, but I tryed searching the site and i couldnt find one thats let your users upload attachments but they dont go into the database they got into a temp dir or dir that you specify. I need this cause my sites need a place to upload pics, but my hosting company fusses when the attachment database gets to big, i though if there was a hack that uploads attachments to a temp dir i could archive and delete the pictures much easyer. Is this hack or one like this already out? Thanks for you help

filburt1
05-16-2003, 11:17 PM
Yes, try searching for attachments as flat files. However it's much more efficient for them to be in the database.

shakiraholics
05-16-2003, 11:29 PM
Thanks, i need to tell my host that, they fuss when the attachment database gets over 80 megs. There any reason for this? does it blog down the server with a large database or they just being a pain heh

filburt1
05-16-2003, 11:41 PM
Realistically, if they've properly configured everything, there is no logical reason for them to care. What specifically have they said?

shakiraholics
05-16-2003, 11:47 PM
they just said its too large of an attachment database please dump the files, :\ i see whats really up ill bug them until i get an answer hehe

SouledOut
05-16-2003, 11:57 PM
My only advice is to lower the maxium size.