I want to create a file/folder on my folder and use php to access it. But I don’t want this file access by any other people from the internet. How to do it. I tried to change chomod to 750 and it does’t work.
Welcome back to the forum! You can’t use CHMOD on free hosting, even if you want to do what you want to do; but you can use this code that you put in a .htaccess
file you create on the folder you created to do what you want to do:
Require all denied
8 Likes
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.