note 24456 rejected from function.ibase-blob-import by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Fri, 16 Aug 2002 19:29:30 +0000 |
| Subject: | note 24456 rejected from function.ibase-blob-import by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35150@lists.php.net to get a copy of this message | ||
Problems with using ibase_blob_import()
WIN 2000Pro + Apache 1.3.20 + PHP 4.0.6 + IB 6.0
Insert no data into BLOB field. Not null, but not containing any info (empty), length is 0.
$filename = "d:\\37.bmp";
$fp = fopen ($filename, "r");
$blob_id_str = ibase_blob_import($fp);
$q1 = "insert into pics values(1, ?)";
$r1 = ibase_query($db, $q1, $blob_id_str);