Re: How to insert and select images from postgres db

From: Date: Sun, 03 Apr 2005 21:38:26 +0000
Subject: Re: How to insert and select images from postgres db
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-212133@lists.php.net to get a copy of this message
Well take a look here http://www.php.net/base64_encode and here http://www.php.net/base64_decode , so before you put the image in database encode it first to get a string (with base64_encode), and when you pull the image from the MySQL database, after you get the string value decode it with base64_decode . -- Josip Dzolonga http://josip.dotgeek.org jdzolonga[at]gmail.com

« previous php.general (#212133) next »