Re: [PHP] Storing image in database

2004-09-01 Thread Dre
thanks ... and I'm sorry for all of the dummy question .. I'm really new at this thanks again Dre, Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wednesday 01 September 2004 05:18, Dre wrote: may I ask why is it inefficient ?? Yes. Also you can goggle around a bit

Re: [PHP] Storing image in database

2004-08-31 Thread raditha dissanayake
Dre wrote: Hi .. I'm trying to save and view image files in a MySQL database, I made the save operation successfully, I stored the image file name, type, size and the image file itself the problem occurred when I tried to retrieve the image data I've previously stored, in specific when I tried to

Re: [PHP] Storing image in database

2004-08-31 Thread Dre
I got the idea .. and I will work on it thanks a lot Jim Grill [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dre wrote: line 8 is ?php just that .. and the code before it is the following //== html head

Re: [PHP] Storing image in database

2004-08-31 Thread Dre
may I ask why is it inefficient ?? thanks in advance Raditha Dissanayake [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Dre wrote: Hi .. I'm trying to save and view image files in a MySQL database, I made the save operation successfully, I stored the image file name, type, size

RE: [PHP] Storing image in database

2004-08-31 Thread Jay Blanchard
[snip] may I ask why is it inefficient ?? [/snip] Because BLOB data requires tremendous overhead and cannot usually be indexed by itself. You are better storing the image somewhere in your system and then storing a pointer (URL, whatever) to the image. -- PHP General Mailing List

Re: [PHP] Storing image in database

2004-08-31 Thread Jason Wong
On Wednesday 01 September 2004 05:18, Dre wrote: may I ask why is it inefficient ?? Yes. Also you can goggle around a bit for the pros and cons. -- Jason Wong - Gremlins Associates - www.gremlins.biz Open Source Software Systems Integrators * Web Design Hosting * Internet Intranet

Re: [PHP] Storing image in database

2004-08-30 Thread Dre
thanks .. I will search for it Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Tuesday 31 August 2004 02:34, Dre wrote: Cannot modify header information - headers already sent by Search the archives or google (former would be better as latter would give lots of

Re: [PHP] Storing image in database

2004-08-30 Thread Dre
line 18 is header(Content-type: $image); Michal Migurski [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Everytime I try to execute this code I get this error Warning: Cannot modify header information - headers already sent by (output started at C:\Program Files\Apache

Re: [PHP] Storing image in database

2004-08-30 Thread Dre
line 8 is ?php just that .. and the code before it is the following //== html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body //==

Re: [PHP] Storing image in database

2004-08-30 Thread Torsten Roehr
Dre [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] line 8 is ?php just that .. and the code before it is the following file://== html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html;

Re: [PHP] Storing image in database

2004-08-30 Thread Daniel Schierbeck
Dre wrote: line 8 is ?php just that .. and the code before it is the following //== html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body

Re: [PHP] Storing image in database

2004-08-30 Thread Marek Kilimajer
Dre wrote: line 8 is ?php just that .. and the code before it is the following //== html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body

Re: [PHP] Storing image in database

2004-08-30 Thread Jim Grill
Dre wrote: line 8 is ?php just that .. and the code before it is the following //== html head titleUntitled Document/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body