Hello all,
I have tried this:
echo substr(sprintf('%o', fileperms($mdbFilename)), -4).'<br />';
echo chmod($mdbFilename, 0777);
echo substr(sprintf('%o', fileperms($mdbFilename)), -4).'<br />';
The out put I get for the above is:
0666
1
0666
So the above has not worked! Why is this the case? And why does chmod report true?
The variable $mdbFilename contains the path to the file which is C:\wamp\www\webs\db\access_db_1276264459.mdb
Any help will be appreciated.