Skip to content

23y4d/block-PHP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Security: Automatically block someone are snooping, using a PHP and .htaccess

This can be helpful for a number of reasons. For example, you can use this class to ban people that are snooping around your website or see your file in website , or to ban robots that don’t respect your robots.txt file

Usage

create file named d.php and put in this config

<?php

 require_once 'block.php';
    
$list = array(
      '127.0.0.1',
      '0.0.0.0',
      '128.0.0.1',
);
$z = new securtiy\block\block("exmple@exmple.com",$list);

?>

Author

Copyright and license

Copyright 2016 under MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages