Hi everyone
I've got a form that I'm using to upload screenshots... Whenever I try to use copy(), or even exec()'ing cp, to copy the tmp file to the right directory (which is chmodded 777 to make sure it's not a prob with perms), the file gets created but with a 0 length! But, the odd thing is if I copy() the file to the /tmp/ dir it works just fine! The real destination directory is owned by nobody:nobody (which is the user/group under which the webserver is running).. I'm not too concerned about security atm, I just want to get this working first!
Anybody have an idea why this might be happening??
Thanks,
David