Click here to Skip to main content
16,008,942 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I'm going to develop a website where user can create their own website. My question is, is there any possibility that i can store whole uploaded informaton in a separate folder(information like,texts,images) and keep retriving data from that folder whenever user wants to browse.Or else i must use database only store uploaded data.

Sorry i'm not explaining everything and hope that you understood my question.please reply to this.
Posted

1 solution

you store the data in both the ways.

If you store images and files in database, the database will become too bulky. if it is only text then store it into database.

So its better to use it in file system.
 
Share this answer
 
v3
Comments
ks ravi 22-Jun-11 5:55am    
thanks for your reply.please explain this sentence meaning :its better to use it in file system.
[no name] 22-Jun-11 6:03am    
File system is always faster the your database.

Initially database will be faster but as the size of database increases it will get slower automatically.
ks ravi 22-Jun-11 6:08am    
thanks for the reply.Since i'm new to this,please explain the procedure with an example
[no name] 22-Jun-11 7:06am    
You can perform on test. create a file on a system. insert the same file into database. we can observe the difference.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900