Advertisement
artur99

Untitled

May 11th, 2017
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.35 KB | None | 0 0
  1. <?php
  2.     include'easy-lock.php';
  3.     $options = array(
  4.         "bypass" => array('111.222.111.100')
  5.     );
  6.     lock("1234", 2, $options);
  7. ?>
  8.  
  9. ** 2 is the skin number
  10.  
  11. ** Also, if your PHP version in 5.4 or newer, you can even write it shorter:
  12.  
  13. <?php
  14.     include'easy-lock.php';
  15.     lock("1234", 2, ["bypass" => ['ip_1', 'ip_2', 'ip_3']]);
  16. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement