I'm having some trouble with handling large PHP uploads from a form. I have <input type="hidden" name="MAX_FILE_SIZE" value="20971520"> in the form, so it should have no problem handling file uploads up to 20 Megs. However, whenever I upload a file any larger than about 8 or 9 Megs, it outputs a "Cannot Find Server" error to the browser (tried it with IE5.5 and NN4).

Some directives in the PHP.INI file have also been set to try and curb this error:

upload_max_filesize = 22020096 ; 21 Meg limit on file
max_execution_time = 600 ;600 seconds for max. script
memory_limit = 29360128 ;28mb to accomodate larger file
post_max_size = 23068672 ; 22 Meg Max post added

php version is: PHP 4.1.2-3

Help...anyone😕

    There's possibly a max file size set in your webserver. Also are you sure 10 minutes is enough time for your system to upload the file?

      Never mind, got it solved. Thanks, anyway.

        25 days later

        Could you please explain how you solved the problem? I'm having similar issues myself...

          I think I used FTP functions instead of file handling.

            i also have edited my php.ini, all parameters have typed like you
            but php script doesnt want to post > 2 M

            how you solve this problem

            i am on mandrake8.2

              Write a Reply...