I've done it allredy!
It brings up a line of unknown characters
- Original Message -
From: John W. Holmes
To: 'Nikos Gatsis' ; 'PHP-mailist'
Sent: Tuesday, December 31, 2002 1:08 AM
Subject: RE: [PHP-DB] SHOW PICTURE FROM DATABASE
I have a php script that call binary
On Tuesday, December 31, 2002, at 02:25 AM, nikos wrote:
Steve
b. the _type is the type of the binary data. From the PHP manual
read: $userfile_type - The mime type of the file if the browser
provided this information. An example would be image/gif
Ok, but it didn't look like you saved
Some suggestions...
On Monday, December 30, 2002, at 03:55 PM, Nikos Gatsis wrote:
where showpict.php:
$query=SELECT pict FROM pict WHERE pro_id= '$pro_id;
(You're missing an end ' there, but apparently that's not the problem)
$result=mysql_db_query($database, $query, $conn) or Die
I have a php script that call binary data of pictures stored in
database.
The script works fine in IE but not in Netscape (ver 4.7, 6.01).
Any ideas?
-
the html tag is like: img src=showpict.php?pro_id=1
where showpict.php:
$query=SELECT pict FROM