From: tqnam at pmail dot vnn dot vn Operating system: window 2000 PHP version: 4.3.3 PHP Bug Type: Compile Failure Bug description: I get error when get Blob value in informix with IIS
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 bug report at http://bugs.php.net/?id=25554&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25554&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25554&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25554&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25554&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25554&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25554&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25554&r=support Expected behavior: http://bugs.php.net/fix.php?id=25554&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25554&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25554&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25554&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25554&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25554&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25554&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25554&r=gnused