View Single Post
Light Poster
9Mar2010,14:05  
rekha_sri's Avatar
If you want to take the uploaded filename use $_FILES['uploaded_file']['name'] .Using this you can compare the database
filename.

Use the following condition for checking the file size error.

$_FILES['my_file']['error'] ==UPLOAD_ERR_INI_SIZE)||($_FILES['my_file']['error'] == UPLOAD_ERR_FORM_SIZE