PHP Classes

File: password.php

Recommend this page to a friend!
  Classes of Roman Shneer  >  PHP Web Application Firewall  >  password.php  >  Download  
File: password.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,294 bytes


Class file image Download
 * script for change user password
 * 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"; ?>
<?php include_once 'include/header.php';?>
        <h1 class='title'>Change Your Password</h1>
        <div class='box password_page'>
                <?php if(!empty($WU->error))echo '<div style="color:red">'.$WU->error.'</div>';?>
<form action="" method='POST'>
                <input type='password' name='old_pass' placeholder='Old Password' value='<?php if(isset($_POST['old_pass']))echo $_POST['old_pass'];?>' class='inset'><br>
                                <input type='password' name='pass' placeholder='New Password' class='inset'><br>
                                <input type='password' name='pass1' placeholder='Confirm Password' class='inset'><br>
                <input type='submit' value='change' id="change_button" class="green_btn">

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