PHP Classes

File: example.php

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


Class file image Download
$Login = new Login();
<!DOCTYPE html>
        <title>Block Login Attempt : Bharat Parmar</title>

<h4>Example : Block Login Attempt with IP Address </h4>
    <li>Form Submit</li>
    <li>Form Data Clear</li>
    <li>Click on your Web Page</li>
    <li>Copy Web Page Content</li>
    <li>Print Web Page</li>
    <li>Right Click on Web Page</li>
<p>Whenever the above events will be triggered, the screenshot of the webpage will be stored in the Screenshot Directory as well as the event log will be generated in event-log.log file in the same directory. Event Log will store data like Event Name, Screenshot Image File Name, Time and IP Address.</p>
    <?php $Login->DisplayMessage(); ?>
<form method="post">
        <table width="50%">
                <td><input type="text" name="username"></td>
                <td><input type="password" name="password"></td>
                <td colspan="2" align="center">
                    <input type="submit" name="login_submit" value="Login">