Recently, I was trying to develop a function about uploading photos.
But I only got two methods.
The first one is to add a new column , the type is 「binary」,the each photo users upload just convert into binary , then save to database.
The second one is to create a directory for users uploading photo files.Then I'll save each photo path in the database.
So~~What I am asking is there is any better solution to deal with it ??
How to deal with uploaded photos?
Page 1 of 11 Replies - 1582 Views - Last Post: 04 February 2013 - 10:21 AM
Replies To: How to deal with uploaded photos?
#2
Re: How to deal with uploaded photos?
Posted 04 February 2013 - 10:21 AM
Assuming you don't want a bloated DB the second option is the better of the two.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote






|