Is there anyone interested in doing the following for 500 points?
1) clean up the code below
2) tell me what I should be looking for, "chmod" doesn't want to work, the files and directories involved are owned by user running the script, I tried to "chown" the script to "root" without success, --- echo $file,"<br>"; works and gives the correct output
foreach($files as $file)
$file="/home/meeting/chair" . $file;
chmod($file, 0755); // octal; correct value of mode
echo "last modified ".date('d F Y, H:i:s.',getlastmod());
Thank you for your help