[PHP] copy image from database

2001-12-08 Thread Jan Grafström
Hi! I have images in my DB and want to write them to disk. I tried to copy but nothing happend, the image only pops up in my browser with echo. I want it saved in a directory on my server. - $query = select bin_data,filetype from $table where id=$id; $result = @MYSQL_QUERY($query); $image =

Re: [PHP] copy image from database

2001-12-08 Thread Andrew Brampton
, December 08, 2001 8:28 AM Subject: [PHP] copy image from database Hi! I have images in my DB and want to write them to disk. I tried to copy but nothing happend, the image only pops up in my browser with echo. I want it saved in a directory on my server. - $query = select bin_data