Login   Register  
PHP Classes
elePHPant
Icontem

File: example.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Ivan Priorov  >  Security authorization  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example
Class: Security authorization
Validate sessions with cookie values
Author: By
Last change:
Date: 2008-12-28 10:23
Size: 359 bytes
 

Contents

Class file image Download
<?php
// initialization class always 
$cryptClass = new cryptSession();
// If authorization is passed using your code then additional security is created...
if ($_POST['user_login'] == $Your_UserLogin && md5($_POST['user_password']) == $Your_UserPassword) {
    
// Starting class function and created additional security.
    
$cryptClass->generateIV();
}
?>