Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Sukhwinder Singh
t;Jim Moseby" <[EMAIL PROTECTED]> Cc: "'Sukhwinder Singh'" <[EMAIL PROTECTED]>; Sent: Saturday, June 09, 2007 5:15 AM Subject: RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs On Thu, June 7, 2007 10:52 am, Jim Moseby wrote: Rumor has i

RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Richard Lynch
On Thu, June 7, 2007 10:52 am, Jim Moseby wrote: > Rumor has it that uploaded files are stored in memory before being > committed > to disk. If so, the amount of free RAM available to PHP would be the > limit > to the filesize regardless of the ini file settings. I think you have to go pretty far

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Robert Cummings
On Fri, 2007-06-08 at 10:53 -0400, tedd wrote: > At 4:35 PM +0100 6/7/07, Stut wrote: > >You need to look into maybe a java applet, or just plain > >FTP/SFTP/SCP for files that big. HTTP was never designed to handle > >uploading files of that size. For a start there is no facility to > >restart

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
tedd wrote: At 4:35 PM +0100 6/7/07, Stut wrote: You need to look into maybe a java applet, or just plain FTP/SFTP/SCP for files that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail.

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread tedd
At 4:35 PM +0100 6/7/07, Stut wrote: You need to look into maybe a java applet, or just plain FTP/SFTP/SCP for files that big. HTTP was never designed to handle uploading files of that size. For a start there is no facility to restart the upload should it get interrupted and fail. -Stut -St

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-08 Thread Stut
Sukhwinder Singh wrote: You don't appear to have read what I said. A Java applet can use FTP to upload the file - PHP does not get involved in that part. Once the upload is complete the applet can POST to your PHP file giving it information like where it's put the file and this other informatio

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
nder Singh" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 08, 2007 2:10 AM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs Sukhwinder Singh wrote: Even java applets have to hand over the file to some script, in this case php and php will get it in $_FILES

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
Sukhwinder Singh wrote: Even java applets have to hand over the file to some script, in this case php and php will get it in $_FILES array it seems (in case of japplet). so the problem will remain. Not at all true. A Java applet can use FTP to handle the upload and still pass meta data about

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
w. Thanks for replying. Sukhwinder Singh - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 08, 2007 1:28 AM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in G

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
the file from a Java applet. -Stut - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Thursday, June 07, 2007 8:56 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Jim Moseby
> > > Rumor has it that uploaded files are stored in memory before being > > committed > > to disk. If so, the amount of free RAM available to PHP > would be the limit > > to the filesize regardless of the ini file settings. > > I don't think that is the case. File is written to temp > directo

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
ad. I suggest you start Googling. -Stut - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Thursday, June 07, 2007 8:35 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in G

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
gt; To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: "Jim Moseby" <[EMAIL PROTECTED]>; Sent: Thursday, June 07, 2007 9:16 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs Sukhwinder Singh wrote: Rumor has it that uploaded files a

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
Sukhwinder Singh wrote: Rumor has it that uploaded files are stored in memory before being committed to disk. If so, the amount of free RAM available to PHP would be the limit to the filesize regardless of the ini file settings. I don't think that is the case. File is written to temp director

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
IL PROTECTED]> Sent: Thursday, June 07, 2007 8:59 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs A beeter method is to send the file via ftp. I think most browsers allow this. And for example store the file in a user specific file. Then the user, via a web i

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
07, 2007 8:52 PM Subject: RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs Hello, I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everythin

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Thursday, June 07, 2007 8:35 PM Subject: Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs Sukhwinder Singh wrote: I want to allow uploading of h

RE: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Jim Moseby
> > Hello, > > I want to allow uploading of huge video files, which may be > as big as 4 GB. But when I try to set > > post_max_size = 4G > upload_max_filesize = 4G > > in php.ini, it doesn't work and everything in post (posted > data) is ignored. > > I get a warning about size of posted da

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
. Any utility which allows this? Thanks, Sukhwinder Singh - Original Message - From: "Stut" <[EMAIL PROTECTED]> To: "Sukhwinder Singh" <[EMAIL PROTECTED]> Cc: Sent: Thursday, June 07, 2007 8:35 PM Subject: Re: [PHP] File Upload - post_max_size

Re: [PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Stut
Sukhwinder Singh wrote: I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everything in post (posted data) is ignored. I get a warning about size of posted data greater

[PHP] File Upload - post_max_size and upload_max_filesize in GBs

2007-06-07 Thread Sukhwinder Singh
Hello, I want to allow uploading of huge video files, which may be as big as 4 GB. But when I try to set post_max_size = 4G upload_max_filesize = 4G in php.ini, it doesn't work and everything in post (posted data) is ignored. I get a warning about size of posted data greater than some negativ