PHP 4.0 Bug #8604: ibase_blob_import() return pure binary string, unusable in INSERT INTO sql
| From: | franco at netwheel dot com | Date: | Mon, 08 Jan 2001 23:35:43 +0000 |
| Subject: | PHP 4.0 Bug #8604: ibase_blob_import() return pure binary string, unusable in INSERT INTO sql | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43490@lists.php.net to get a copy of this message | ||
From: franco@netwheel.com
Operating system: caldera Openlinux eserver 2.3
PHP version: 4.0.3pl1
PHP Bug Type: InterBase related
Bug description: ibase_blob_import() return pure binary string, unusable in INSERT INTO sql
$fh= fopen( $HTTP_POST_FILES[$posted]['tmp_name'], "r" );
$blob= ibase_blob_import( $fh );
// this reports unprintable characters instead
// of values like 24:2c
error_log("blob= ". $blob ,);
ibase_query( "insert into table(filebin) values($blob));
--
Edit Bug report at: http://bugs.php.net/?id=8604&edit=1