Re: [PHP] Saving A Database Image to a File (Thumbnail Problems)

2001-11-29 Thread Mike Gifford
fputs($fd,$Images); > as you don't need to specify the length. If you don't specify the > length, it'll write the entire string. see how that goes... > > -Original Message- > From: Mike Gifford [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 3:47

RE: [PHP] Saving A Database Image to a File (Thumbnail Problems)

2001-11-29 Thread Martin Towell
ROTECTED]] Sent: Friday, November 30, 2001 3:47 PM To: [EMAIL PROTECTED] Subject: [PHP] Saving A Database Image to a File (Thumbnail Problems) Hello All, I'd really appreciate some help figuring out what's wrong with this code. I can't seem to successfully save a MySQL JPG Image to a ph

[PHP] Saving A Database Image to a File (Thumbnail Problems)

2001-11-29 Thread Mike Gifford
Hello All, I'd really appreciate some help figuring out what's wrong with this code. I can't seem to successfully save a MySQL JPG Image to a physical jpg file (well atleast not a valid one) The critical pieces of the code look like this: // 1. Get Image from DB to String $sql = "SELECT