[PHP] Uploading Files via Forms

2002-02-14 Thread Aaron Gould

I have a CD with several of our company's product images on it.  They
consists of very large original TIF and EPS images directly from our
graphics department.  An image's size ranges anywhere from a a few hundred
kilobytes to 40 megabytes.

I have set up a form to upload the images.  They are later converted via
system calls with ImageMagick into JPG format.  It almost always works with
smaller size images (~6-8MB or less).  But when uploading anything really
large, it fails every time.  The files are not even getting to the server.

I've edited the php.ini with the following:

post_max_size = 50M
upload_max_filesize = 50M

Is there something else I'm missing?

--
Aaron Gould
[EMAIL PROTECTED]
Web Developer





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Uploading Files via Forms

2002-02-14 Thread Anas Mughal

I remember doing this a while ago.
So, please excuse me if I am way off.

As far as I recall, the upload form could specify
maximum file size. Check if putting a larger value
there helps.




--- Aaron Gould [EMAIL PROTECTED] wrote:
 I have a CD with several of our company's product
 images on it.  They
 consists of very large original TIF and EPS images
 directly from our
 graphics department.  An image's size ranges
 anywhere from a a few hundred
 kilobytes to 40 megabytes.
 
 I have set up a form to upload the images.  They are
 later converted via
 system calls with ImageMagick into JPG format.  It
 almost always works with
 smaller size images (~6-8MB or less).  But when
 uploading anything really
 large, it fails every time.  The files are not even
 getting to the server.
 
 I've edited the php.ini with the following:
 
 post_max_size = 50M
 upload_max_filesize = 50M
 
 Is there something else I'm missing?
 
 --
 Aaron Gould
 [EMAIL PROTECTED]
 Web Developer
 
 
 
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 


=
Anas Mughal
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: 973-249-6665

__
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Uploading Files via Forms

2002-02-14 Thread Aaron Gould

Ahhh, ok!  I feel like such an idiot.  Right at the top of my script there's
a spot with the value of maximum upload size.  It was set to 10MB, so I
changed it to 50MB and it works.

I can't believe that slipped by me.  :)

Thanks very much!

--
Aaron Gould
[EMAIL PROTECTED]
Web Developer


- Original Message -
From: Anas Mughal [EMAIL PROTECTED]
To: Aaron Gould [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February 14, 2002 10:22 AM
Subject: Re: [PHP] Uploading Files via Forms


 I remember doing this a while ago.
 So, please excuse me if I am way off.

 As far as I recall, the upload form could specify
 maximum file size. Check if putting a larger value
 there helps.




 --- Aaron Gould [EMAIL PROTECTED] wrote:
  I have a CD with several of our company's product
  images on it.  They
  consists of very large original TIF and EPS images
  directly from our
  graphics department.  An image's size ranges
  anywhere from a a few hundred
  kilobytes to 40 megabytes.
 
  I have set up a form to upload the images.  They are
  later converted via
  system calls with ImageMagick into JPG format.  It
  almost always works with
  smaller size images (~6-8MB or less).  But when
  uploading anything really
  large, it fails every time.  The files are not even
  getting to the server.
 
  I've edited the php.ini with the following:
 
  post_max_size = 50M
  upload_max_filesize = 50M
 
  Is there something else I'm missing?
 
  --
  Aaron Gould
  [EMAIL PROTECTED]
  Web Developer
 
 
 
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 


 =
 Anas Mughal
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 Tel: 973-249-6665

 __
 Do You Yahoo!?
 Send FREE Valentine eCards with Yahoo! Greetings!
 http://greetings.yahoo.com

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php