Quote:
Originally posted by acctman
how would i go about checking to see if my error reporting is on
|
Your Webserver is running under a non-root userspace. Files which get uploaded will be owned by this user.
Since this isnt a _root_ user you cannot chown the file to another user on the machine using the php script, about the best you could do is chmod 755, so that only the webserver user can write to the file but everyone else on the system can read/execute it.
Right from Php.net/chown
"Attempts to change the owner of the file filename to user user (specified by name or number). Only the superuser may change the owner of a file. "