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

[PHP-WIN] Next question about binary files/combining them, etc.

2012-05-13 Thread Carl Roett
Depending on what you're building, it could be very easy or extremely difficult. When posting on mailing lists, you need to give other developers more information about your application so we can give you useful information. Also, for general web-dev questions, sites like stackoverflow.com can usu

Re: [PHP-WIN] Characters in an uploaded text file being corrupted

2012-05-27 Thread Carl Roett
Do not use Microsoft Word to save files that need to be read-in by other software. Ever. It *always* finds a way to screw it up. Even if you cut and paste it into the other program, I've heard cases where Word has put unprintable control characters into the pasted output, that showed-up as spaces i