Hello,
Thank you for your support! However I tried both 755 and 644 for my .inc files, which are included in my .php files in this "include_once(something.inc)" manner ... I want to prevent users from reading both the .inc & .php code, but the .php need to be able to include the .inc
I tried chmod 755 .inc ... and I can still read the code from the browser! and if I tried chmod 644 .inc ... then when I include .inc in .php files, I got this error
Warning: Failed opening 'lib/something.inc' for inclusion (include_path='') in something.php on line 8
Can anyone please help on how I can achieve what I am trying to achieve?
Thank you!!!