[PHP] Problem with big files

2003-05-27 Thread Martin
we would like to upload large files to the server ( 20 MB ). We have changed
the configuration of php.ini in order to upload this files via http. We
changed the following parameters:

post_max_size  = 25M
file_uploads = On
upload_tmp_dir =/tmpupload
upload_max_filesize = 25M
memory_limit = 25M

also we set in the script that makes the upload the function
set_time_limit(0), so the script has no time out.

The problem appears when the file is larger than 6.5 MB. It shows an error
telling us that the page could not be found.
Thanks



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



[PHP] problem uploading BIG files

2002-03-18 Thread Gerhard Hoogterp

Hello All,

I have a problem uploading big files. 23MB range. I already changed the 
max_upload_filesize and the post_max_site to 26214400 byes (25Mb) and the 
timeout  (set_time_limit) is set to 0. No limit.

Since I'm testing over a lan uploading goes fast. I see it going for a while 
and then suddenly get an error  result for moving and chmod'ing the file 
(Mozilla) or a page not  found (IE). PHP  is the 4.1.2 version. 

I'm realy clueless why the upload is aborted. The timeout it shouldn't be as 
I don't think I make even the default 30 seconds. There diskspace enough on 
any partition which could have to hold the temporarilly file (the smallest 
partition still has 700Mb free) The values for max_upload_filesize and 
post_max_site are verified though the phpinfo() and are set.

Anybody who can shed a glimps of light? 

Gerhard


-- 
ICQ: 4502226

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




RE: [PHP] problem uploading BIG files

2002-03-18 Thread Martin Towell

Is it possible to determine if it's the php script causing the error or the
browser causing the error? Maybe it's the browser timing-out??

-Original Message-
From: Gerhard Hoogterp [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 19, 2002 9:50 AM
To: [EMAIL PROTECTED]
Subject: [PHP] problem uploading BIG files 


Hello All,

I have a problem uploading big files. 23MB range. I already changed the 
max_upload_filesize and the post_max_site to 26214400 byes (25Mb) and the 
timeout  (set_time_limit) is set to 0. No limit.

Since I'm testing over a lan uploading goes fast. I see it going for a while

and then suddenly get an error  result for moving and chmod'ing the file 
(Mozilla) or a page not  found (IE). PHP  is the 4.1.2 version. 

I'm realy clueless why the upload is aborted. The timeout it shouldn't be as

I don't think I make even the default 30 seconds. There diskspace enough on 
any partition which could have to hold the temporarilly file (the smallest 
partition still has 700Mb free) The values for max_upload_filesize and 
post_max_site are verified though the phpinfo() and are set.

Anybody who can shed a glimps of light? 

Gerhard


-- 
ICQ: 4502226

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




Re: [PHP] problem uploading BIG files

2002-03-18 Thread Gerhard Hoogterp

On Monday 18 March 2002 23:56, Martin Towell wrote:
 Is it possible to determine if it's the php script causing the error or the
 browser causing the error? Maybe it's the browser timing-out??

Tested with two browsers. But probably it's the timing anyhow indeed.. I just 
realized that the timeout  should occur in the page with the upload form and 
not in the page processing the uploaded file.. 
Once again a good night of sleep solves every problem..;-)

Thanks,
 Gerhard

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