Welcome Guest, Not a member yet? Register   Sign In
How to restrict IP on folder of controllers from apache config?
#2

[eluser]gwerner[/eluser]
This is something I've found while searching the googlenet. This doesn't seem to be the best option. But the only path I've discovered that may work. Thoughts?

Code:
$your_ip_address='123.123.123.123'; //change it to yours
if (!isset($_SERVER['REMOTE_ADDR']) || $_SERVER['REMOTE_ADDR'] != $your_ip_address)) {
   exit();
}


Messages In This Thread
How to restrict IP on folder of controllers from apache config? - by El Forum - 12-05-2012, 04:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB