Page 1 of 1

Picture management

Posted: Sat Apr 04, 2009 11:09 am
by pinehead18
[Moved by moderator to PHP - Code forum]
I'm curious, i'm wanting to create a small image archive for a photo journalist. What is the best way to upload images to a website via mobile phone? And how should they be stored, archived in a file directory or stored in a db?

Thanks for your thoughts.

Re: Picture management

Posted: Sat Apr 04, 2009 11:48 am
by Bruno De Barros
http://www.developershome.com/wap/wapUpload/

This should give you an insight about uploading files on phones, both on phones that support WAP and XHTML.

In my opinion, images should always be stored in the filesystem, not in the database. But that's just me, I've always thought it'd be faster that way. I have no data to back it up, though.

Re: Picture management

Posted: Sat Apr 04, 2009 7:58 pm
by s.dot
Yes, store the images on the file system. Store the image name/path to image in the database.

Re: Picture management

Posted: Sun Apr 05, 2009 2:08 am
by jhennessey123p
scottayy wrote:Yes, store the images on the file system. Store the image name/path to image in the database.
Thank you

Re: Picture management

Posted: Sun Apr 05, 2009 3:55 pm
by pinehead18
Thanks guys.