#20167 [Opn->Fbk]: no response when i get a blob
| From: | sniper@php.net | Date: | Wed, 30 Oct 2002 13:07:42 +0000 |
| Subject: | #20167 [Opn->Fbk]: no response when i get a blob | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-23718@lists.php.net to get a copy of this message | ||
ID: 20167
Updated by: sniper@php.net
Reported By: gallard.nicolas@cimaest.msa.fr
-Status: Open
+Status: Feedback
Bug Type: Informix related
Operating System: RH 8.0
PHP Version: 4.2.3
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2002-10-30 03:07:16] gallard.nicolas@cimaest.msa.fr
$pool = ifx_pconnect($database, $id, $password);
$sql = "select * from tbl_blob where libelle='" . $uid . "'";
$prep = ifx_query($sql,$pool,$tbl);
$table = ifx_fetch_row($prep,"NEXT");
if (is_array($table)) {
$bib = $table[blobe];
header("Content-type: image/jpeg");
$a = ifx_get_blob($bib);
echo $a;
}
This program is OK in RH 7.0 (Apache/1.3.20, PHP4.2.3)
in RH 8.0 ( Apache/2.0.40, PHP4.2.3)
the ifx_get_blob is blocked (no response of the navigator)
It's OK if i get the blob thirst than header :
$bib = $table[blobe];
$a = ifx_get_blob($bib);
header("Content-type: image/jpeg");
echo $a;
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20167&edit=1