php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20167 no response when i get a blob
Submitted: 2002-10-30 03:07 UTC Modified: 2002-11-14 01:47 UTC
From: gallard dot nicolas at cimaest dot msa dot fr Assigned:
Status: No Feedback Package: Informix related
PHP Version: 4.2.3 OS: RH 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 + 36 = ?
Subscribe to this entry?

 
 [2002-10-30 03:07 UTC] gallard dot nicolas at cimaest dot msa dot 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-30 07:07 UTC] sniper@php.net
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
 [2002-11-14 01:47 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue Jan 25 04:03:37 2022 UTC