can't upload greater 50MB
        Posted  
        
            by Syom
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Syom
        
        
        
        Published on 2010-04-09T18:45:24Z
        Indexed on 
            2010/04/09
            18:53 UTC
        
        
        Read the original article
        Hit count: 203
        
php
i want to upload two files. here is the script
<?
    ini_set('memory_limit', "400M");
    ini_set('file_uploads', "5");
    ini_set('max_execution_time', "900");
    ini_set('upload_max_filesize', "400M");
    ini_set('post_max_size', "400M");
?>
<form action="form.php" method="post" enctype="multipart/form-data" />
<input type="file" name="video"  />
<input type="file" name="picture" >
<input type="submit"  class="input" value="?????" />
</form>
form.php:
    <?
ini_set('memory_limit', "400M");
ini_set('file_uploads', "5");
ini_set('max_execution_time', "900");
ini_set('upload_max_filesize', "400M");
ini_set('post_max_size', "400M");
        print_r($_FILES);
       //returns Array ( )
    ?>
i've asked about this question here , and i've set ini_set(...) as you see, but when i try to upload the file greater than 50MB, it doesn't happen. could you tell me why?
© Stack Overflow or respective owner