[firebird-support] RE: how to insert image blob in Firebird in PHP and ADODB

2014-01-24 Thread firebirdfaq
---In firebird-support@yahoogroups.com, wrote > It works great now. It took a lot of time searching. For regular PHP, there's an example with code here: http://www.firebirdfaq.org/faq122/ Regards.

[firebird-support] RE: how to insert image blob in Firebird in PHP and ADODB

2014-01-21 Thread g80rock
Thanks Helen! I found info about that you have to create a filter if you don't use the standard ones in Firebird. So i just set the subtype to 0, and added a field that tells which image type it is. I also read that Firebird was unable to tell which type it is. So i just put the binary dat

[firebird-support] RE: how to insert image blob in Firebird in PHP and ADODB

2014-01-21 Thread g80rock
i got it to work. for now i am using PDO for Firebird, but it should be the same as ADODB. maybe. i did it like this, if anyone want to know. i also have to create a field for the image type, so i can upload different types, and show them as the correct types. i also had to set subtype to 0