i have working codes from my server which is really working using Xampp server but when i uploaded it to my hosting site, it seems the whole uploading isn’t working.. what is missing? the temp folder? do i need to make a temp folder to my hosting site?
Share
Make sure for:
enctypeinformattributeUpdate:
The
enctypeshould be set toenctype="multipart/form-data"eg:And you can turn on error reporting by putting these lines on top of your script:
Additionally try to see what does
$_FILESarray contain after form is submitted: