php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8604 ibase_blob_import() return pure binary string, unusable in INSERT INTO sql
Submitted: 2001-01-08 18:35 UTC Modified: 2002-05-25 09:19 UTC
From: franco at netwheel dot com Assigned:
Status: Not a bug Package: InterBase related
PHP Version: 4.0.3pl1 OS: caldera Openlinux eserver 2.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: franco at netwheel dot com
New email:
PHP Version: OS:

 

 [2001-01-08 18:35 UTC] franco at netwheel dot 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));



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-25 09:19 UTC] derick@php.net
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.


 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Mar 30 08:01:26 2020 UTC