php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6280 problems with binary fields (mysql)
Submitted: 2000-08-21 13:50 UTC Modified: 2000-09-25 19:12 UTC
From: bassboot at gmx dot net Assigned:
Status: Closed Package: MySQL related
PHP Version: 4.0.1pl2 OS: suse linux 6.4
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: bassboot at gmx dot net
New email:
PHP Version: OS:

 

 [2000-08-21 13:50 UTC] bassboot at gmx dot net
I have an adress-book relaized in php3.
To show up a pic, I use an extended file.
showpic.php3:

<?
mysql_connect("localhost", "bassboot", "4string");
mysql_select_db("basser");
$result=mysql_query("SELECT * FROM kontakte WHERE id=$id ORDER BY id") 
					or die ("Can't perform Query");
$row=mysql_fetch_object($result);
Header( "Content-type: image/gif"); 
echo $row->pic; 
?>

With php4 is does work any more.

Thank's for your help.

Frank 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-21 13:52 UTC] bassboot at gmx dot net
I have an adress-book relaized in php3.
To show up a pic, I use an extended file.
showpic.php3:

<?
mysql_connect("localhost", "user", "pass");
mysql_select_db("basser");
$result=mysql_query("SELECT * FROM kontakte WHERE id=$id ORDER BY id") 
					or die ("Can't perform Query");
$row=mysql_fetch_object($result);
Header( "Content-type: image/gif"); 
echo $row->pic; 
?>

With php4 is does work any more.

Thank's for your help.

Frank 

 [2000-08-26 09:14 UTC] sniper@php.net
Does it give some error or in which way it doesn't work?

--Jani
 [2000-09-25 19:12 UTC] stas@php.net
no feedback
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jul 14 10:00:02 2026 UTC