RE: upload large files troubles

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[snip]
I have apache2 + php5. I need to upload large files.  I found out, that 
file is uploaded always. But:
- if the file is less than 167 MB all is OK, then I tryed larger files -

from 191 MB up, files are uploaded, but php script, which handle the 
operation is "like" not executed. I always get blank (clear) page (f.e. 
echo "hello"; does not work!), so I can not let users know, that upload 
finished OK.
Here is part of my php.ini file:
max_execution_time = 70000
max_input_time = 70000
memory_limit = 16M
post_max_size = 900M
upload_max_filesize = 900M
default_socket_timeout = 80000
....I think, these are all interested parts in this problem.
[/snip]

In your file where you browse for files to upload does it look like
this?

<!-- The data encoding type, enctype, MUST be specified as below -->
<form enctype="multipart/form-data" action="__URL__" method="POST">
    <!-- MAX_FILE_SIZE must precede the file input field -->
    <input type="hidden" name="MAX_FILE_SIZE" value="30000" />
    <!-- Name of input element determines name in $_FILES array -->
    Send this file: <input name="userfile" type="file" />
    <input type="submit" value="Send File" />
</form>

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux