Re: [PHP] image uploads

2006-02-01 Thread William Stokes
Do you really want people uploading 2.5MB a shot to your server? No. Not really. It's just modern digicams... Most people don't know how to edit pics or doesn't have right tools for that. And they don't realize the difference between 2.5Mb or 0.5Mb just as long there are atleast 5Megapixels in

Re: [PHP] image uploads

2006-02-01 Thread Barry
William Stokes wrote: Do you really want people uploading 2.5MB a shot to your server? No. Not really. It's just modern digicams... Most people don't know how to edit pics or doesn't have right tools for that. And they don't realize the difference between 2.5Mb or 0.5Mb just as long there are

Re: [PHP] image uploads

2006-02-01 Thread Kevin Waterson
This one time, at band camp, Richard Lynch [EMAIL PROTECTED] wrote: On Tue, January 31, 2006 4:43 pm, tedd wrote: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? ... in the archives. http://marc.theaimsgroup.com/?l=php-general Rubbish.

Re: [PHP] image uploads

2006-02-01 Thread tedd
Hi gang: I don't mean to offend anyone, but I'm going to side with Keith Waterson about storing images in a dB rather than in a file system. My reasons are pretty simple. First, an image is nothing more than a large of string text -- sure it's voluminous, but there's no difference how it is

Re: [PHP] image uploads

2006-02-01 Thread John Nichel
Richard Lynch wrote: On Tue, January 31, 2006 4:43 pm, tedd wrote: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? ... in the archives. http://marc.theaimsgroup.com/?l=php-general Richard, are you feeling okay? I don't think I've ever

RE: [PHP] image uploads

2006-02-01 Thread Weber Sites LTD
/be/berber.gif We handle more than 20M images and files with no problem this way. berber -Original Message- From: tedd [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 01, 2006 4:23 PM To: php-general@lists.php.net Cc: Kevin Waterson Subject: Re: [PHP] image uploads Hi gang: I don't

RE: [PHP] image uploads

2006-01-31 Thread Weber Sites LTD
Check this out : http://www.weberdev.com/get_example-3938.html Image Upload And Resize Script Sincerely berber Visit the Weber Sites Today, To see where PHP might take you tomorrow. PHP MySQL Forums : http://www.weberforums.com Learn PHP MySQL Playing Trivia :

Re: [PHP] image uploads

2006-01-31 Thread Richard Lynch
On Tue, January 31, 2006 10:58 am, William Stokes wrote: Is there something special about php and images that nobody told me... No. :-) I'm writing a image gallery but I have run to serious trouble with it. I have one page with form in it. Form's action is $PHP_SELF. In the form there is

Re: [PHP] image uploads

2006-01-31 Thread tedd
Richard said: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? tedd -- http://sperling.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] image uploads

2006-01-31 Thread Weber Sites LTD
: [PHP] image uploads Richard said: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? tedd -- http://sperling.com/ -- PHP General Mailing List (http://www.php.net

Re: [PHP] image uploads

2006-01-31 Thread Richard Lynch
On Tue, January 31, 2006 4:43 pm, tedd wrote: Storing the image in the DB is probably not a Good Idea for a variety of reasons. And they are? ... in the archives. http://marc.theaimsgroup.com/?l=php-general -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List

Re: [PHP] image uploads

2006-01-31 Thread William Stokes
OK. I was a bit vague at the first posting... To DB a put the filepath to the two images i create. And some additional info like upload date, width, height etc. I like storing my files in filesystem... You mean isset($image), right?... Right ! ENCTYPE=multipart/form-data It's there. I

RE: [PHP] image uploads

2006-01-31 Thread Albert
William Stokes wrote: I somehow got it back working with Opera. Don't know how :) One question still remains. How to make 100% sure that the image isn't re-loaded to server if user hits refresh? And he will cause it can take long time to upload 2.5Mb pics over a slow link. When you hit

Re: [PHP] image uploads - part 2

2004-11-06 Thread Robby Russell
On Sat, 2004-11-06 at 03:58 -0800, Jaskirat Singh wrote: 4) database + dedicated = err.. stupid? ;) I should have clarified this more as to why I prefer the DB storage method. I don't expect that my web application will be the only interface to the data that I am storing the database. For some

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
The problem is in that you do global only for $ImageFile, but not for $ImageFile_name. Big flaw is that if someone make a form FORM ACTION=?php $SCRIPT_NAME ? Method=Post ENCTYPE=multipart/form-data INPUT TYPE=hidden name=MAX_FILE_SIZE value=100 Input Type=text Name=ImageFile__name

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Ryan Stephens
the funny thing is this the information is beeing inserted into the database... the file is beeing uploaded (as i can see it in the directory). I can get results from $ImageFile $ImageFile_name $ImageFile_size but i cant get a result for $ImageFile_type this comes up blank there is

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
PROTECTED] Sent: Wednesday, November 28, 2001 10:39 AM Subject: Re: [PHP] Image Uploads beeing corupted the funny thing is this the information is beeing inserted into the database... the file is beeing uploaded (as i can see it in the directory). I can get results from $ImageFile

Re: [PHP] Image Uploads beeing corupted

2001-11-28 Thread Andrey Hristov
Hristov [EMAIL PROTECTED] Sent: Wednesday, November 28, 2001 10:51 AM Subject: Re: [PHP] Image Uploads beeing corupted this means nothing to me... sorry, i've only been working with PHP for a couple weeks. and a few month of web learning. the site im working on is hosted by some other