Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-18 Thread tedd
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: However, after given it some thought, I would imagine that one could get a unique generated string, create a file with that string, give the file the correct permissions, then pull the image from the dB and save, do image processing, and then reloa

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-17 Thread Gerry Danen
On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: > However, after given it some thought, I would imagine that one could > get a unique generated string, create a file with that string, give > the file the correct permissions, then pull the image from the dB and > save, do image processing, and then rel

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread tedd
So single-user disclaimer would apply? Obviously, if you have numerous people accessing your dB and doing inserts and updates, then all the lock-down stuff needs to be implemented. But, my code is not for that, but rather for someone (a single programmer) who wants to pull an image from a B

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread tedd
Gerry wrote: What if several users try to access a different picture at the same time? Won't that render the wrong image for some? Gerry Gerry: Normally, it's not needed for civilians. This is for when YOU want to do some image stuff on your images, like to do some background processing v

Re: [PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread Gerry Danen
What if several users try to access a different picture at the same time? Won't that render the wrong image for some? Gerry On 2/16/06, tedd <[EMAIL PROTECTED]> wrote: > Hi gang: > > In a previous post (i.e., [PHP] Strange response to MySQL query) I > was trying to save a BLOB as a file, namely u

[PHP] Saving a BLOB image to a file (SOLVED)

2006-02-16 Thread tedd
Hi gang: In a previous post (i.e., [PHP] Strange response to MySQL query) I was trying to save a BLOB as a file, namely using an "INTO DUMPFILE" query. If you are the system admin, and have all the system permissions, then this is not a big problem. However, if you aren't, then getting MySQ