Forum Moderators: coopster
>>>
include this in all files that you need to include another file.
For example you need including aa.php to bb.php so you will insert in bb.php my above DOC_RooT path and conn_whatever (Located at root level) offers the path to your hidden file below root
Done!
Create a gateway page say for example
local_ip_only.php
Create a switch on this page only excepts URI requests
and directs them if they are local to the includes otherwise brings up an page that logs the offender then blocks the IP
affender_log.php
use required() at the top of each one of your include files you want protected that requires the URI script located in local_ip_only.php
I think if you play with this model it will work for you.
Shane