Re: [PHP-WIN] Alternative methods for storing uploaded images?

2012-05-10 Thread Jacob Kruger
All makes good sense. Will check out code, etc. Thanks Jacob Kruger Blind Biker Skype: BlindZA '...fate had broken his body, but not his spirit...' - Original Message - From: "Carl Roett" To: Sent: Thursday, May 10, 2012 11:41 PM Subject: Re: [PHP-WIN] Alternative methods for stori

Re: [PHP-WIN] Alternative methods for storing uploaded images?

2012-05-10 Thread Carl Roett
The answer is "it depends" and in some very specialized situations storing binaries in the database might be the best solution. But in general, this approach will cause you serious problems. Some ramifications: 1) Browsers won't cache the images. So you'll take a CPU and bandwidth hit every time

Re: [PHP-WIN] Alternative methods for storing uploaded images?

2012-05-10 Thread Jacob Kruger
Definitely makes sense with regard to site performance, but, sort of in past used something like this in ASP.Net to sort of/partially make sure only signed in users/browsers could then actually 'see' images, etc., but, that could also be handled easily enough using a form of server-side redirec

RE: [PHP-WIN] Alternative methods for storing uploaded images?

2012-05-10 Thread Gavin Chalkley
Jacob, I have a gallery i created with a Java template, PHP, and MYSQL. In the admin section you create category's and upload the images to a folder eg: Pictures On upload the script water marks and creates Thumb nails for use in the gallery. http://www.helenshappyhome.co.uk/gallery.php Visito

[PHP-WIN] Alternative methods for storing uploaded images?

2012-05-10 Thread Jacob Kruger
Just wondering if it's better to either store uploaded images, via something like a form of CMS, in a static folder, with a unique name based on something like the data record's id field, when keeping track of it's location like that, or is it better to actually store the binary data of the imag