Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- PDO ,Lobs and fpassthru
May 23, 2007, 11:15 am
rate this thread
I need to fetch lobs with php script. I found it but there is an
$stmt = $db->prepare("select * from test where oid = 17056");
$stmt->bindColumn('oid', $lob, PDO::PARAM_LOB);
Warning: fpassthru(): supplied argument is not a valid stream resource
in /home/kkk/public_html/haxxxxxxxxx.php on line 20
$lob returns an id but fpassthru doesn t execute with this id.
Where is the wrong?
Re: PDO ,Lobs and fpassthru
I don't know how they have their example set up. But look up
fpassthru() in the PHP manual. It must reference a handle created by
fopen() or fsockopen().
Also - please copy at least the critical parts of the message you're
responding to and put your answer following the message(like I did
here), or, if it's a long message, interspaced in the message. I had to
go back and fetch the entire thread from the newsreader. Normally I
don't load unread messages. A lot of people who don't use google groups
do the same
Remove the "x" from my email address
JDS Computer Training Corp.