I Have Folder That Am Not Able To Access And Code Also Not Getting Updated On Website

I Have Folder That Am Not Able To Access And Code Also Not Getting Updated On Website

I Have Folder includes when try to access by url its redirecting to error page

https://sharefy.in/includes/footer.php

From:

The includes folder

For security reasons, all files in a folder includes are blocked. This includes URLs like http://example.com/includes/function.php or http://example.com/includes/pages/product.php.

The idea behind this is that includes means that the folder contains scripts meant to be loaded into other scripts with PHP include (or require). Scripts like that are generally not meant to be accessed directly.

The fix for this is simple: do not use the folder name includes for anything that’s supposed to be accessed by browser. Instead, put such pages in a folder pages, functions, actions or a folder with any other name.

8 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.