13 Jun 2005 09:09
oracle blob problem
Marcin Szkudlarek <marcin <at> mikronika.com.pl>
2005-06-13 07:09:11 GMT
2005-06-13 07:09:11 GMT
Hi!
I've following problem with ADODB: when uploding blob to a view my php
script hangs. When I use table instead of view it's ok. I'm using this
code:
if (!$db->Execute('INSERT INTO BLOB_TEST (BLOBID, BLOBDATA) VALUES
('.$id.', EMPTY_BLOB())'))
error('Insert failed', $db->ErrorMsg());
if (!$db->UpdateBlobFile('BLOB_TEST', 'BLOBDATA', $path,'BLOBID='.$id,
'BLOB'))
error('UpdateBlobFile failed', $db->ErrorMsg());
Any suggestions appreciated but please don't suggest me to stop using
view because I have to.
M.S.
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
RSS Feed