|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2001-03-10 14:07 UTC] sniper@php.net
  [2001-03-11 00:04 UTC] hellmarch at 263 dot net
  [2001-03-11 05:35 UTC] mathieu@php.net
  [2001-03-11 20:36 UTC] hellmarch at 263 dot net
  [2001-04-19 09:55 UTC] sniper@php.net
  [2001-05-10 05:55 UTC] sniper@php.net
  [2001-05-10 10:43 UTC] hellmarch at 263 dot net
  [2001-05-10 10:52 UTC] derick@php.net
  [2001-05-10 10:54 UTC] sniper@php.net
  [2001-05-10 11:32 UTC] hellmarch at 263 dot net
  [2001-05-10 11:42 UTC] sniper@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 13:00:01 2025 UTC | 
I am using php 4.03pl1 version on linux now.I found that bug:i use mysql's BLOB mode to record a gif or jpg binary data stream,when i read them out and display them in one same page,gif or jpg will not display on page at the first time i load the page.Must refresh the page,the two type can be displayed. I don't know if this is a bug or not,so,thanx a lot. Attach,my program: <? require("config.inc"); $db = mysql_connect($db_server,$db_user,$db_pass) or die('Can't connect db server'); mysql_select_db($db_name) or die('Can't connect to read database'); $sql = "select data,filetype from images where name='$name'"; $res = mysql_query($sql,$db); $data = mysql_result($res,0,"data"); $type = mysql_result($res,0,"filetype"); Header( "Content-type: $type"); echo $data; mysql_close(); ?>