Re: [PHP] save image in database vs folder

2008-03-12 Thread tedd
At 10:15 AM -0400 3/11/08, Robert Cummings wrote: On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote: Well, bearing in mind I only have experience of MySQL, the general consensus is to save it to a file on you hard drive and store the file name in the database. If for whatever reason

Re: [PHP] save image in database vs folder

2008-03-11 Thread Aschwin Wesselius
Børge Holen wrote: Topposting here... dont dont dont... we beat the living crap outa this one. Dont ask, do whatever you want and learn from it. Fact is that the best one is the one that works best right then and there. Dont you dare push this subject any further... On Tuesday 11 March

Re: [PHP] save image in database vs folder

2008-03-11 Thread Richard Heyes
some friend of mine ague about this matter, this morning. they say, saving image in database is more professional. I am not really agree with that,since i am just a novice programmer. Well, bearing in mind I only have experience of MySQL, the general consensus is to save it to a file on you

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
Topposting here... dont dont dont... we beat the living crap outa this one. Dont ask, do whatever you want and learn from it. Fact is that the best one is the one that works best right then and there. Dont you dare push this subject any further... On Tuesday 11 March 2008 12:00:35 jeffry s

Re: [PHP] save image in database vs folder

2008-03-11 Thread dev
Quoting jeffry s [EMAIL PROTECTED]: some friend of mine ague about this matter, this morning. they say, saving image in database is more professional. I am not really agree with that,since i am just a novice programmer. i am asking senior php programmer what you opinion about this? which one

Re: [PHP] save image in database vs folder

2008-03-11 Thread jeffry s
thanks Richard .. sorry dev.. i don't know this subject is quite sensitive here :( I think I'm gonna dive into the archives then. To see for myself what left such a scars upon that subject. i guess, i have to prepare my oxygen tank to dive into the archives. i am quite curious to find out what

Re: [PHP] save image in database vs folder

2008-03-11 Thread dev
Quoting jeffry s [EMAIL PROTECTED]: thanks Richard .. sorry dev.. i don't know this subject is quite sensitive here :( It's not so sensitive :) It's just one of those questions that pop''s up a lot. And some of those discussions were pretty heated. I think I'm gonna dive into the

Re: [PHP] save image in database vs folder

2008-03-11 Thread Robert Cummings
On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote: some friend of mine ague about this matter, this morning. they say, saving image in database is more professional. I am not really agree with that,since i am just a novice programmer. Well, bearing in mind I only have experience

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
On Tue, Mar 11, 2008 at 10:15 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote: some friend of mine ague about this matter, this morning. they say, saving image in database is more professional. I am not really agree with

Re: [PHP] save image in database vs folder

2008-03-11 Thread David Giragosian
On 3/11/08, Daniel Brown [EMAIL PROTECTED] wrote: On Tue, Mar 11, 2008 at 10:15 AM, Robert Cummings [EMAIL PROTECTED] wrote: On Tue, 2008-03-11 at 11:18 +, Richard Heyes wrote: some friend of mine ague about this matter, this morning. they say, saving image in database

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
On Tue, Mar 11, 2008 at 10:34 AM, David Giragosian [EMAIL PROTECTED] wrote: On 3/11/08, Daniel Brown [EMAIL PROTECTED] wrote: http://www.gfy.com/ ;-P Whoa! My institution blocked that URL for 'adult content'. I guess there are some racy example pictures or something?? lol. It's a

RE: [PHP] save image in database vs folder

2008-03-11 Thread Warren Vail
Probably has to do with what GFY means in texting short hand. Go F... Yourself ;-). Warren -Original Message- From: David Giragosian [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 11, 2008 7:34 AM To: php-general@lists.php.net Subject: Re: [PHP] save image in database vs folder

Re: [PHP] save image in database vs folder

2008-03-11 Thread Greg Donald
On 3/11/08, jeffry s [EMAIL PROTECTED] wrote: which one is better. save in database or in folder? The file system _is_ a database. No need to add more unnescessary layers. Here is the defacto Zend benchmark on the topic: http://www.zend.com/zend/trick/tricks-sept-2001.php It doesn't work

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
'n here we go againfff -- --- Børge Holen http://www.arivene.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] save image in database vs folder

2008-03-11 Thread Daniel Brown
On Tue, Mar 11, 2008 at 11:24 AM, Børge Holen [EMAIL PROTECTED] wrote: 'n here we go againfff Børge, the F's are silent. ;-P -- /Dan Daniel P. Brown Senior Unix Geek ? while(1) { $me = $mind--; sleep(86400); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
On Tuesday 11 March 2008 18:30:13 you wrote: On Tue, Mar 11, 2008 at 11:24 AM, Børge Holen [EMAIL PROTECTED] wrote: 'n here we go againfff Børge, the F's are silent. ;-P =D -- --- Børge Holen http://www.arivene.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] save image in database vs folder

2008-03-11 Thread Børge Holen
On Tuesday 11 March 2008 21:24:45 you wrote: I've been coding PHP for some time now in combination with MySQL, but I have never heard of the possibility of storing images in a database..? I didn't even know this was possible. they are stored as binary objects. for a strategic search directly