PHP Classes

File: login.php

Recommend this page to a friend!
  Classes of Roman Shneer  >  PHP Web Application Firewall  >  login.php  >  Download  
File: login.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Web Application Firewall
Block malicious requests using a white list
Author: By
Last change: Fixed mobile css
Date: 5 years ago
Size: 1,250 bytes


Class file image Download
 * script for user login
 * License: GNU
 * Copyright 2016 WebAppFirewall RomanShneer <>

$WU=new WafUser;

?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="" xml:lang="en" lang="en">
<?php require_once "include/head.php"; ?>
        <div class='header'></div>
        <h1 class='title'>Wellcome to Web App Firewall</h1>
                <div class='box'>
                        <form action="" method='POST' class='login_page'>
                <?php if(!empty($WU->error))echo '<div style="color:red">'.$WU->error.'</div>';
                    <input type='text' name='email' placeholder='Enter email' class='inset'>
                    <input type='password' name='pass' placeholder='Password' class='inset'>
                        <input type='submit' value='login' id='login_button'>
                        <br><a href="remind_password.php" class="add_user">Remind password</a>

For more information send a message to info at phpclasses dot org.