recently I downloaded the new uploadify plugin for multiple file uploads. It was perfect until i tried to upload a movie about 700MB. After some searching i found than i can't upload any file over 10MB.
Here is my jquery script:
<script type="text/javascript">
<?php $timestamp = time();?>
$(function() {
$('#file_upload').uploadify({
'formData' : {
'timestamp' : '<?php echo $timestamp;?>',
'token' : '<?php echo md5('unique_salt' . $timestamp);?>'
},
'auto' : false,
'progressData' : 'speed',
'buttonText' : 'Choose files...',
'swf' : 'uploadify.swf',
'uploader' : 'uploadify.php',
});
});
</script>
Please help !!!
Changing the limit on Uploadify
Set the size limit!
'sizeLimit':1024*1024*1024*2 //2GB
Altogether now...
$(function() {
$('#file_upload').uploadify({
'formData' : {
'timestamp' : '<?php echo $timestamp;?>',
'token' : '<?php echo md5('unique_salt' . $timestamp);?>'
},
'auto' : false,
'progressData' : 'speed',
'buttonText' : 'Choose files...',
'sizeLimit': 1024*1024*1024*2,
'swf' : 'uploadify.swf',
'uploader' : 'uploadify.php',
});
});
You may likely increase the size limit because straight 700MB might not be enough for your image. If it doesn't work, do 800MB
EDIT I revised the code to use 2G file size limit instead.
Changing it in PHP
Go to your php.ini file and set the following parameters:
upload_max_filesize = 2047M
post_max_size = 2047M
PHP is likely your problem because 10MB is the default hard limit