ID:               20167
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-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] [EMAIL PROTECTED]

$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

Reply via email to