PHP 4.0 Bug #6280 Updated: problems with binary fields (mysql)

From: Date: Mon, 25 Sep 2000 23:12:02 +0000
Subject: PHP 4.0 Bug #6280 Updated: problems with binary fields (mysql)
Groups: php.dev 
Request: Send a blank email to php-dev+get-33669@lists.php.net to get a copy of this message
ID: 6280 Updated by: stas Reported By: bassboot@gmx.net Status: Closed Bug Type: MySQL related Assigned To: Comments: no feedback Previous Comments: --------------------------------------------------------------------------- [2000-08-26 09:14:48] sniper@php.net Does it give some error or in which way it doesn't work? --Jani --------------------------------------------------------------------------- [2000-08-21 13:52:40] bassboot@gmx.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-21 13:50:00] bassboot@gmx.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 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=6280

« previous php.dev (#33669) next »