I think this forum is the best fit for this topic...
I've been coding in PHP for the better part of 2 years now and have a rudimentary grasp of what's going on. I recently was asked to administrate a friend's new Red Hat-based virtual server from GoDaddy, and things have been going swimmingly...until I attempted to hook in a PHP file upload, only to find that it will not move the files to the specified destination.
I'm getting an error of 0 for the $_FILES array, and when I run the script locally, it successfully move_uploaded_file() to the correct location (running Windows/WAMP Stack locally). However, duplicating this on the virtual server, there is no error or warning of any kind from move_uploaded_file(), it simply is not showing up in the correct directory. I've checked capitalization, I'm completely stumped.
I figure it's probably not a fault with PHP, as I've scoured the php.ini file and found all references to File Upload to be ON. It probably has something to do with directory permissions in Linux, but I'm still a novice at all that.
Any and all suggestions/help would be greatly appreciated. Thank you.