<?php
 
    
 
    //START PhProtector// 
 
        
 
        //include the class file
 
        require("phprotector/PhProtector.php");
 
            
 
        /* TESTING environment (show all PHP errors!) */
 
        $prot= new PhProtector("phprotector/log.xml", true); 
 
            
 
        /* FINAL environment (do not show PHP errors!) */ 
 
        //$prot = new PhProtector("phprotector/log.xml", false); 
 
        
 
        if($prot->isMalicious()){
 
            header("location: index.html");  //if an atack is found, it will be redirected to this page :)
 
            die();
 
        }
 
        
 
    //END PhProtector// / 
 
 
 
 
        //THE REST OF YOUR PHP CODE GOES HERE!                     
 
        print("dummy code");
 
        
 
        //THE REST OF YOUR PHP CODE GOES HERE!    
 
        
 
        //THE REST OF YOUR PHP CODE GOES HERE!    
 
        
 
        //THE REST OF YOUR PHP CODE GOES HERE!    
 
 
?>
 
 |