PHP Classes

File: example/example1/example1.php

Recommend this page to a friend!
  Classes of amir hoseinian  >  Securify  >  example/example1/example1.php  >  Download  
File: example/example1/example1.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Securify
Generate passwords replacing random characters
Author: By
Last change: Update of example/example1/example1.php
Date: 10 months ago
Size: 961 bytes


Class file image Download
    <title>example 1 securify user input text</title>
    <style type="text/css">
        background: green;
        height: 20px;

    <table border="1px">
            <th>securified text</th>
            <th>securifing bar</th>
            <th>securifing percent</th>
if(isset($_POST['string']) && $_POST['string']){
$str = $_POST['string'];
$securify = new Securify;
$i = 0; $i <= 100; $i+=10):
                        <td><?php echo $securify($str,$i) ?></td>
                            <div class="bar" style="width:<?php echo $i."px" ?>"></div>
                        <td><?php echo $i ?>%</td>
    <form action="" method="post">
        <input type="text" name="string" value="<?php echo isset($_POST["string"])?$_POST["string"]:""; ?>">
        <input type="submit" value="submit new text for securifing" >

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