website logo
Auteur
avatar
Hotfirenet

Forum » » Questions » » Rediriger les bannis


Posté : 11 nov. 2008 à 18:20 icone du post

la j'avoue que j'ai pas mal chercher Put***

grab_globals.php



    function access_denied() {
       !include!("admin/die.php");
    }

    // First of all : Spam-flood from IP / :5 indicate that the same IP has passed 6 times with status KO in the anti_spambot function
    if (file_exists("logs/spam.log")) {
       $tab_spam=str_replace("\r\n","",file("logs/spam.log"));
       if (in_array(getip().":5",$tab_spam)) {
          access_denied();
       }
    }



le fichier die.php

Cet article provient de NPDS
https://www.npds.org/viewtopic.php?topic=23841&forum=9