Upload large size video files around 5MB
Posted: Fri Jul 09, 2010 1:40 am
I had written the upload code to upload video files i can able to upload KB size videos but when i upload MB files cannot upload big size files . I have pasted my code below if any one knows the solution please post the answers as soon as possible its urgent.
I can't get the filename and size while we upload max size videos.
echo 'filename:'.$_FILES["uploadfile"]["name"];
echo 'size:'.$_FILES["uploadfile"]["size"];
output : NULL
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file))
{
}else
{
echo 'fail to upload';
}
when upload big files directly goes to the else displays as 'fail to upload' message instead of execution of if loop.
I hope somebody will find the solution for this please reply me as soon as possible.
Thanks
I can't get the filename and size while we upload max size videos.
echo 'filename:'.$_FILES["uploadfile"]["name"];
echo 'size:'.$_FILES["uploadfile"]["size"];
output : NULL
if (move_uploaded_file($_FILES['uploadfile']['tmp_name'], $file))
{
}else
{
echo 'fail to upload';
}
when upload big files directly goes to the else displays as 'fail to upload' message instead of execution of if loop.
I hope somebody will find the solution for this please reply me as soon as possible.
Thanks