File not uploading PHP
Make sure that in your form.. you put the enctype.
eg: <form method="post" enctype="multipart/form-data" action="index.php"></form>
;
To check if files are successfully updated upon submitting the form. use print_r to see results.
print_r($_FILES);
make sure media
folder has 777 permission and the path ../media/
is correct
Put the encription in form
<form method="post" action="index.php" enctype="multipart/form-data"></form>
Check in php.ini file max_execution_time
heavy images are not uploaded due to execution time..