Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2013
1,125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  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]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement