Skip to content

Instantly share code, notes, and snippets.

@putzflorian
Last active December 16, 2015 00:09
Show Gist options
  • Select an option

  • Save putzflorian/5344948 to your computer and use it in GitHub Desktop.

Select an option

Save putzflorian/5344948 to your computer and use it in GitHub Desktop.
Ausgabe für nur eine IP
<?php if($_SERVER['REMOTE_ADDR'] == 'xx.xx.xx.xx'){ ?>
<?php if($_SERVER["HTTP_X_FORWARDED_FOR"]== 'xx.xx.xx.xx'){ ?>
<?php if(Pimcore_Tool::getClientIp() == 'xx.xx.xx.xx'){ ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment