Forum Moderators: coopster
here again im trying to do some fun stuff :)
id like to upload a file in a folder so i would need to change the owner and mode like this
$path = popen("pwd", "r");$thepath=fgets($path,1500);
chown(rtrim($thepath)."/", nobody);
chmod(rtrim($thepath)."/", 0777);
but it tells me :
Warning: chown failed: Operation not permitted
what should i do?