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 ar

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 Appli

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 (http://www.php.

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

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 > > > > > just that .. and the code before it is the following > > > > > > //== > > > > > >

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 p

Re: [PHP] Storing image in database

2004-08-30 Thread Jim Grill
> Dre wrote: > > line 8 is > > > just that .. and the code before it is the following > > > > //== > > > > > > Untitled Document > > > > > > > > > > //== > > > > That is the output I mentioned. > >

Re: [PHP] Storing image in database

2004-08-30 Thread Marek Kilimajer
Dre wrote: line 8 is just that .. and the code before it is the following //== Untitled Document //== That is the output I mentioned. And output either html OR image, you cannot output both. Try yo

Re: [PHP] Storing image in database

2004-08-30 Thread Daniel Schierbeck
Dre wrote: line 8 is just that .. and the code before it is the following //== Untitled Document //== "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dre wrote: Hi ..

Re: [PHP] Storing image in database

2004-08-30 Thread Torsten Roehr
"Dre" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > line 8 is > just that .. and the code before it is the following > > file://== > > > Untitled Document > > > > Why not putting your PHP code at the top of the page? The blank l

Re: [PHP] Storing image in database

2004-08-30 Thread Dre
line 8 is Untitled Document //== "Marek Kilimajer" <[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 successfull

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

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 > l