Hi
How to upload larger files (nearly 50 MB size) in php .
I tried ,
if(move_uploade d_file($_FILES["file"]["tmp_name"],"/home/lcscon/public_html/admin/".$_FILES["file"]["name"]))
{
echo "File has been uploaded .";
}
else
{
echo "Not Uploaded";
}
?>
I even tried ,
$upload = ftp_put($conn_i d,$destination_ file,$source_fi le,FTP_BINARY);
But it fails. It upload upto files of max size 7 MB.
MAX_FILE_UPLOAD size in php.ini file edited to 80 MB (from 2M).
POST MAX SIZE also configured to large enough.
How can i upload larger files ? Or is there any sample available for uploading larger files (50 MB) .
Thanks in advance
somaskarthic
How to upload larger files (nearly 50 MB size) in php .
I tried ,
if(move_uploade d_file($_FILES["file"]["tmp_name"],"/home/lcscon/public_html/admin/".$_FILES["file"]["name"]))
{
echo "File has been uploaded .";
}
else
{
echo "Not Uploaded";
}
?>
I even tried ,
$upload = ftp_put($conn_i d,$destination_ file,$source_fi le,FTP_BINARY);
But it fails. It upload upto files of max size 7 MB.
MAX_FILE_UPLOAD size in php.ini file edited to 80 MB (from 2M).
POST MAX SIZE also configured to large enough.
How can i upload larger files ? Or is there any sample available for uploading larger files (50 MB) .
Thanks in advance
somaskarthic
Comment