Guest User

Untitled

a guest
Jan 19th, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.36 KB | None | 0 0
  1. <?php
  2. include 'init.session.php';
  3.  
  4. if ($provider == 'google') {
  5.   $ban = '.facebook.com';
  6. } else if ($provider == 'twitter') {
  7.   $ban = '.amazon.com';
  8. } else {
  9.   $ban = '';
  10. }
  11. print $provider;
  12.  
  13. class PHProxy
  14. {
  15.     //
  16.     // Configurable vars
  17.     //
  18.  
  19.     var $banned_hosts = array
  20.    (
  21.        '.localhost',
  22.        '127.0.0.1',
  23.         $ban,
  24.     );
Add Comment
Please, Sign In to add comment