Created
June 23, 2015 15:01
-
-
Save thierrypigot/a5749682f843d2ea2663 to your computer and use it in GitHub Desktop.
Font chier ces spammeurs !
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $host = gethostbyaddr( $_SERVER['REMOTE_ADDR'] ); | |
| if( strstr( $host, 'pnet.pl' ) ) | |
| { | |
| ob_end_clean(); | |
| header("HTTP/1.0 404 Not Found"); | |
| header('location:http://www.dtc.fr/'); | |
| die(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment