Here is a link to the PHP code to generate the base64 string and to convert the string back to an image.
http://fundisom.com/phparadise/php/image_handling/base64_image_encode On Wed, Mar 12, 2008 at 8:56 AM, <[EMAIL PROTECTED]> wrote: > I am not actually dealing with images, but normal > text and integer data. > Got one reply now from RAC, so will see what comes from it. > > RBS > > > > > The easiest way to store an image would be to first convert the image to > > base64 and store the base64 text to the database. Converting data to > > base64 > > takes up about 33% more space than the original data. > > > > On Tue, Mar 11, 2008 at 6:22 PM, RB Smissaert < > > [EMAIL PROTECTED]> wrote: > > > >> Funny you ask that as just 2 days ago I posted a little project > >> on RAC to do exactly this. In my case it has to be called from > >> VBA or VB. Unfortunately and surprisingly no takers yet. > >> > >> RBS > >> > >> > >> -----Original Message----- > >> From: [EMAIL PROTECTED] > >> [mailto:[EMAIL PROTECTED] On Behalf Of Robert L Cochran > >> Sent: 11 March 2008 21:15 > >> To: General Discussion of SQLite Database > >> Subject: [sqlite] PHP Code That Can Store and Retrieve Images > >> > >> Is there open source PHP code (PHP 5.x compatible) that can store and > >> retrieve images from an SQLite 3.5.6 database? > >> > >> For SQLite version 3.5.x, I need to use the PHP PDO functions if I am > >> using PHP 5.2.5, right? > >> > >> I want to show a group of people about 45 photos which I would like to > >> store on an SQLite database and then retrieve. > >> > >> Thanks > >> > >> Bob Cochran > >> _______________________________________________ > >> sqlite-users mailing list > >> sqlite-users@sqlite.org > >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > >> > >> > >> _______________________________________________ > >> sqlite-users mailing list > >> sqlite-users@sqlite.org > >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > >> > > _______________________________________________ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > > > > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users