How to prevent direct access to PHP file

Simple 2 line code to not allow access to include or related PHP files.

Commonly used for include files:



or

No comments yet.

Leave a Reply