Bug #8604 Updated: ibase_blob_import() return pure binary string, unusable in INSERT INTO sql

From: Date: Sat, 25 May 2002 13:19:05 +0000
Subject: Bug #8604 Updated: ibase_blob_import() return pure binary string, unusable in INSERT INTO sql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-8528@lists.php.net to get a copy of this message
ID: 8604 Updated by: derick@php.net Reported By: franco@netwheel.com -Status: Open +Status: Bogus Bug Type: InterBase related Operating System: caldera Openlinux eserver 2.3 PHP Version: 4.0.3pl1 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately your version of PHP is too old -- the problem might already be fixed. Please download a new PHP version from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2001-01-08 18:35:43] franco@netwheel.com $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 this bug report at http://bugs.php.net/?id=8604&edit=1

« previous php.bugs (#8528) next »