Hello everyone, very hope someone can help this problem...
I have directory like this : DIRECTORY-1/DIRECTORY-2/FILE.php
My problem is,
1) I want DIRECTORY-1 cannot access/read/write by FILE.php
2) Even function "dir()/read()/fopen()" in PHP, DIRECTORY-1 cannot be access by FILE.php
Already tested :
1) Many code with .htaccess but problem to open "File.php" in browser
2) Hotlink, Redirect code & function but File.php will redirect too...
Again, I don't know how to do this... I just want to hide all files and directory in DIRECTORY-1 and will cannot access/read/write by FILE.php, but if we type FILE.php, that file will run and will not get error page 😢
Please help me...
--> Sorry for my broken English 🙁