Login   Register  
PHP Classes
elePHPant
Icontem

File: README.txt

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Lopo Lencastre de Almeida  >  Signature  >  README.txt  >  Download  
File: README.txt
Role: Documentation
Content type: text/plain
Description: Read me file. Documentation is inside the code itself.
Class: Signature
Generate signatures that identify the current user
Author: By
Last change: Added the donation link
Date: 2010-02-23 09:27
Size: 1,032 bytes
 

Contents

Class file image Download
======== OWNERSHIP & LICENSING ======== 

SAFE SIGNATURE
Simple and easy secure encrypted unique signature
Copyright 2008 Lopo Lencastre de Almeida, iPublicis - Internet Agency, Portugal <http://www.ipublicis.com>

Version 1.0, first public release
Licensed under GNU Lesser General Public License v3 <http://opensource.org/licenses/lgpl-3.0.html>
 
Donate: http://smsh.me/7kit

======== REQUIREMENTS ======== 

   1. PHP 5.x
   2. PEAR Crypt HMAC
   3. PEAR Net User Agent

======== USAGE ======== 


Basically this algorithm provides a unique signature for a specific visitor.
Further information is inside the class file and the sample file.

<?php

   // Crypt HMAC2 Functions
   require_once ('PEAR/Crypt/HMAC2.php');

   // Crypt Net User Agent Functions
   require_once ('PEAR/Net_UserAgent/detect.php');

   // Our Class
   require_once 'class.signature.php';    

   // Instatiate the class
   $sign = new signature();

   // Create new signature
   $signature = $sign->create();
?>