Guest User

Untitled

a guest
Sep 2nd, 2013
523
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. plik brameczka.php:
  2.  
  3. <?php
  4. setcookie('brameczka','ok',time()+3600);
  5. header("Location: wp-login.php");
  6. ?>
  7.  
  8. w .htaccess:
  9. RewriteEngine On
  10. RewriteCond %{HTTP_COOKIE} !^.*brameczka.*$ [NC]
  11. RewriteRule ^wp-login.php$ - [F,L]
RAW Paste Data