2008/5/16 Fabian Lange <[EMAIL PROTECTED]>:
> <?php
> //This prevents accidental access to non production frontends
> if (!in_array($_SERVER['REMOTE_ADDR'], array('127.0.0.1')))
> {
> echo('Your IP '.$_SERVER['REMOTE_ADDR'].' is not in set of allowed IPs.');
> echo('Check '.__FILE__.' For more information. ');
> die();
> }
> ?>
+1
I like this!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---