PHP 4.0 Bug #6280: problems with binary fields (mysql)
| From: | bassboot at gmx dot net | Date: | Mon, 21 Aug 2000 17:50:00 +0000 |
| Subject: | PHP 4.0 Bug #6280: problems with binary fields (mysql) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-30081@lists.php.net to get a copy of this message | ||
From: bassboot@gmx.net
Operating system: suse linux 6.4
PHP version: 4.0.1pl2
PHP Bug Type: MySQL related
Bug description: problems with binary fields (mysql)
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