php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #25554 I get error when get Blob value in informix with IIS
Submitted: 2003-09-16 04:09 UTC Modified: 2003-09-16 10:22 UTC
From: tqnam at pmail dot vnn dot vn Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.3.3 OS: window 2000
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tqnam at pmail dot vnn dot vn
New email:
PHP Version: OS:

 

 [2003-09-16 04:09 UTC] tqnam at pmail dot vnn dot vn
Description:
------------
I insert a blob value into table, but when i get blob value it is php send error "The instructions at "0x250075f0" preferenced memory at "0x0000000". The memory could not read.Have any one khow it, help me get it


Reproduce code:
---------------
// the code insert blob value
$query="insert into blobimage(pit_id,pit_image)
values(5,FILETOBLOB('".$pathfile."','server'))";
$stmt=ifx_query($query,$con);
if(!$stmt){print("errors");}
ifx_free_result($stmt);
ifx_close($con);

// The code I get blob value
$query="select pit_image from blobimage where pit_id=5";
ifx_blobinfile_mode(1); 
$stmt=ifx_query($query,$con);
if(!$stmt){print("errors");}
$row=ifx_fetch_row($stmt);
$content=ifx_get_blob($row["pit_image"]);
ifx_free_result($stmt);
ifx_close($con);



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-09-16 10:22 UTC] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

bug #25510, DO NOT REPORT SAME THING MANY TIMES!!!!!

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Aug 28 14:00:03 2025 UTC