[PHP-DEV] PHP 4.0 Bug #6280 Updated: problems with binary fields (mysql) From: Bug Database (php-dev <email protected>)
Date: 09/25/00

ID: 6280
Updated by: stas
Reported By: bassboot <email protected>
Status: Closed
Bug Type: MySQL related
Assigned To:
Comments:

no feedback

Previous Comments:
---------------------------------------------------------------------------

[2000-08-26 09:14:48] sniper <email protected>
Does it give some error or in which way it doesn't work?

--Jani

---------------------------------------------------------------------------

[2000-08-21 13:52:40] bassboot <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>