Re: How to insert and select images from postgres db

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux