source: spip-zone/_plugins_/blockreferer/blockreferer_options.php @ 107918

Last change on this file since 107918 was 15691, checked in by pierre.andrews@…, 13 years ago

debut d'un plugin pour blacklister les visiteurs qui fond du spam de referer.

File size: 337 bytes
Line 
1<?php
2  /*
3if(blockreferer_test()){
4   include_spip('inc/headers');
5     http_status(403);
6           include_spip('public/assembler');
7          echo recuperer_fond("fonds/403",array(
8          'ip'=>$_SERVER['REMOTE_ADDR'],
9          'type'=>_T('honeypothttpbl:type'.$info['type']),
10          'threat'=>$info['threat'],
11          'age'=>$info['age'],
12          ));
13  exit();
14}
15  */
16?>
Note: See TracBrowser for help on using the repository browser.