Firebird blob insert - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Firebird blob insert (/showthread.php?tid=62570) |
Firebird blob insert - turtuga - 07-31-2015 hello i have using codeigniter 3 for a new project with firebird database and i need insert pdf's files in database in blob but i dont know why inserting blob not working my code is: PHP Code: private function blob_create($data) { var_dump($ficheiro); die(); result is 0x0000000100000000 but ibase_blob_echo($ficheiro); result is binary file my problem is insert write 0x0000000100000000 in database and not de blob file.. anyone know how insert blob file in firebird with codeigniter ?? sorry my bad english best regards RE: Firebird blob insert - msteudel - 08-03-2015 Have you seen this: http://www.firebirdfaq.org/faq122/ RE: Firebird blob insert - turtuga - 08-05-2015 yes i think i discover the problem blob id not survive an escape and firebird driver in codeingniter have some problem because with ibase_query() works perfect i will try discover the problem and create an pull request in github |