Re: images in DB

From: Date: Fri, 01 Dec 2000 17:48:34 +0000
Subject: Re: images in DB
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-28237@lists.php.net to get a copy of this message
Copy the image out of the database to a temp location and run GetImageSize() on it. See http://www.php.net/manual/function.getimagesize.php for syntax and other info. Toby Butzon ----- Original Message ----- From: "indrek siitan" <tfr@cafe.ee> To: "PHP List" <php-general@lists.php.net> Sent: Friday, December 01, 2000 12:03 PM Subject: [PHP] images in DB : Hi, : : i've got images stored in a MySQL database BLOB field. : : is there any trick to acquire the image parameters (width & height) : from there? the image can actually be either a GIF or a JPG, but : if needed, I can detect that, since i'm storing the content type : on uploading. : : : Rgds, : Tfr : : --==< tfr@cafe.ee >==< http://tfr.cafe.ee/ >==< +372-50-17621 >==-- : : -- : PHP General Mailing List (http://www.php.net/) : To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net : For additional commands, e-mail: php-general-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net : :

« previous php.general (#28237) next »