PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Bharat Parmar   PHP Block Login Attempts   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP Block Login Attempts
Block login attempts from IP after failures
Author: By
Last change:
Date: 8 years ago
Size: 208 bytes
 

Contents

Class file image Download
<?php
@session_start();

//SET MAXIMUM ALLOWED FAILED LOGIN ATTEMPT
define("MAX_LOGIN_ATTEMPT",3);

//BLOCK BY IP ADDRESS
define("BLOCK_IP",true);

//BLOCK TIMEOUT IN MINUTES
define("BLOCK_TIMEOUT",120);


?>