RE: [PHP-DB] Images stored in a db - how to get them?

2004-01-26 Thread John T. Beresford
"Content-Length: ".filesize($row_file["file_path"])); $fp=fopen($row_file["file_path"], "rb"); fpassthru($fp); } ?> The GD library is for creating new images using specified parameters or editing an image. HTH - Paul -Original Message-

RE: [PHP-DB] Images stored in a db - how to get them?

2004-01-26 Thread Paul Miller
- From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED] Sent: Monday, January 26, 2004 3:28 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] Images stored in a db - how to get them? about once a quarter this question comes up and the answer is always the same. Don't store them in the database,

RE: [PHP-DB] Images stored in a db - how to get them?

2004-01-26 Thread Ryan Jameson (USA)
about once a quarter this question comes up and the answer is always the same. Don't store them in the database, just store filenames and store the files in the filesystem. That way you just generate a link and treat it like any other image. Then when you query the database you would create img ta