And $txtDescription should actually be $_POST['txtDescription']
also when you try to read $_FILES['binFile'] im not sure that you will be able to do that as you will have to upload and MOVE the file, then read it and the delete it..
Yes, the file must be upload first before reading, so the best option is to use $_FILES['binFile']['size'].
Or just use move_uploaded_file() before reading.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.