I've tried phpbb_chmod function but do not change the file permissions chmod
I've using for example
phpbb_chmod($newfilename_url, 0777);
$newfilename_url is a path to the file upload (The variable is fine, leaving the correct link to upload the file, the problem is that they get permits and fails CHMOD 403)
¿Any help or indication?