How to determine reason for file upload failure in PHP?
It is unclear to me how to determine the reason for a file upload failure in PHP. I want the PHP script to report the reason as accurately possible. I didn't understand the php documentation on that and couldn't find an example, so I'd appreciate your help very much. Thanks!
and that sould make your code output the errors. I am aware that when using DirectAdmin, you ahve to login to the CP and view your error log to find out the errors as it stops all error outputing for security reasons, unless that has changed in recent versions