SHARE
TWEET

Untitled

a guest Sep 2nd, 2013 451 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
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top