ID: 25554
Updated by: [EMAIL PROTECTED]
Reported By: tqnam at pmail dot vnn dot vn
-Status: Open
+Status: Bogus
Bug Type: Compile Failure
Operating System: window 2000
PHP Version: 4.3.3
New Comment:
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!!!!!
Previous Comments:
------------------------------------------------------------------------
[2003-09-16 04:09:49] 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);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25554&edit=1