From:             [EMAIL PROTECTED]
Operating system: RH 8.0
PHP version:      4.2.3
PHP Bug Type:     Informix related
Bug description:  no response when i get a blob

$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 bug report at http://bugs.php.net/?id=20167&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20167&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20167&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20167&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20167&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20167&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20167&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20167&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20167&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20167&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20167&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20167&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20167&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20167&r=isapi

Reply via email to