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?
update
YES, you're true i've print phpinfo(), and it shows, that upload_max_filesize is still 10MB. but why, if i wrote ini_set()?