cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict PHP access to files

Hello, is there any way to restrict access to files by PHP?

 

for instance ->  if a script is held at /home/main/website/script.php    

 

is there a way to limit script access to /website folder only, rather than have PHP have access to the whole area?