use chmod and chown
set mod to 0775 or 0777.
make sure the folder you are uploading into has these permissions as well.
For the owner and group...not sure what's best for your system - but it doesn't really matter once you set permissions to 0777.
take a look at all the info over at php.net