Re: [PHP-DB] Storing JPEGS in MySQL

2005-02-02 Thread Bastien Koert
this was discussed just last week..find the thread or go here http://www.weberdev.com/get_example.php3?count=4063 bastien From: Jason Wong <[EMAIL PROTECTED]> To: php-db@lists.php.net Subject: Re: [PHP-DB] Storing JPEGS in MySQL Date: Thu, 3 Feb 2005 07:55:39 +0800 On Thursday 03 Februar

Re: [PHP-DB] Storing JPEGS in MySQL

2005-02-02 Thread Jason Wong
On Thursday 03 February 2005 05:59, A Wood wrote: > The image is resized like this, and as I say, this far its working fine... > imagecopyresampled($image, $contents, 0, 0, 0, 0, $newxsize, $newysize, > $orig_x, $orig_y); > > I then try to put it in the DB by passing the variable $image straight >

[PHP-DB] Storing JPEGS in MySQL

2005-02-02 Thread A Wood
I'd be grateful if someone could offer me some guidance on where I'm going wrong here, I'm sure I'm 99% of the way there... I want to read in a JPEG from a file upload form (HTML), resize it and store in in a MySQL DB. Then in another script I want to pull it out of the DB and display it. I've