Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- plik brameczka.php:
- <?php
- setcookie('brameczka','ok',time()+3600);
- header("Location: wp-login.php");
- ?>
- w .htaccess:
- RewriteEngine On
- RewriteCond %{HTTP_COOKIE} !^.*brameczka.*$ [NC]
- RewriteRule ^wp-login.php$ - [F,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement