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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
6 + 47 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 16 06:01:29 2024 UTC