Hi every body
i was create some forms for uploading files.
when i tried to upload some files with less than a MB there is no problem and it works well but when the size of file that i want to upload it, is over than 10 MB i faced with undefined error for my file field . please help me with this problem .
/* DETAILS OF FILESOURCE */
$namefile=$_FILES['file2']['name'];
$tmpfile=$_FILES['file2']['tmp_name'];
$sizefile=$_FILES['file2']['size'];
$typefile=$_FILES['file2']['type'];
/* END OF DETAILS */
copy("$tmppic", "newspictures/$namepic")
//insert query and etc...