[PHP] PDO::PARAM_LOB and MySQL

2006-11-14 Thread Chris
Hi all. I'm trying to read binary data from a MySQL 5 database using PDO's PARAM_LOB stream, but it's not working. It always returns the data as a string (not a stream). I've found discussions where other people had this problem, but they all seem to have been solved by settng the PDO::ATTR_

Re: [PHP] PDO::PARAM_LOB and MySQL

2006-11-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2006-11-14 07:57:33 -0800: > I based this code off the example in the documentation: > > http://us2.php.net/manual/en/ref.pdo.php#AEN149844 (Example 12. Displaying > an image from a database) > > Any suggestions? It seems to be that it *should* be doing what I want, but >