Re[2]: [PHP-DB] Still trying to get image from /tmp path

2001-07-29 Thread Sergey Larionov
Afternoon, Luc! .·•Cite 30 èþëÿ 2001 ã., 4:21:32•·. LS> Maybe this helps: LS> $file = "/tmp/pathtoimage/image.jg" LS> $fp = fopen($file, filesize($file)); LS> $image = fread($fp, filesize($file)); //not sure about fread function¿ LS> print $image //or imagejpeg($image), I'm not sure.. No. When

Re: [PHP-DB] Still trying to get image from /tmp path

2001-07-29 Thread Luc Servaas
m: "Mark Gordon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, July 29, 2001 10:31 PM Subject: [PHP-DB] Still trying to get image from /tmp path > Thanks, David. That helped a little but now what I get is: > in the output. > > The tmp folder is up t

RE: [PHP-DB] Still trying to get image from /tmp path

2001-07-29 Thread David Balatero
ark Gordon [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 1:31 PM To: [EMAIL PROTECTED] Subject: [PHP-DB] Still trying to get image from /tmp path Thanks, David. That helped a little but now what I get is: in the output. The tmp folder is up the directory tree outside of my www folder (on my

[PHP-DB] Still trying to get image from /tmp path

2001-07-29 Thread Mark Gordon
Thanks, David. That helped a little but now what I get is: in the output. The tmp folder is up the directory tree outside of my www folder (on my web host's 'puter)- I don't have direct access to it. Heres the modified code: $sql=mysql_query("SELECT bin_data FROM binary_data WHERE id=4");