PHP Classes
elePHPant
Icontem

Signature: Generate signatures that identify the current user

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-23 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 632 All time: 4,696 This week: 1,066Up
Version License PHP version Categories  
safe_signature 1.0GNU Lesser Genera...5.0HTTP, PHP 5, Cryptography
Description Author  

This class can be used to generate signatures that identify the current user.

It can determine serveral details that identify the current user like it browser, operating system, IP address among others, and generates hash that can be used to determine if the user is the same in subsequent accesses.

Picture of Lopo Lencastre de Almeida
Name: Lopo Lencastre de ... is available for providing paid consulting. Contact Lopo Lencastre de ... .
Classes: 3 packages by
Country: Portugal Portugal
Age: 49
All time rank: 103714 in Portugal Portugal
Week rank: 1529 Down25 in Portugal Portugal Down

Details provided by the author  
======== 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();
?>
Screenshots  
  • signature.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file signature.php Example Example of usage. Check code due to location of your PEAR packages.
Plain text file class.signature.php Class The class
Accessible without login Plain text file README.txt Doc. Read me file. Documentation is inside the code itself.

 Version Control Unique User Downloads Download Rankings  
 0%Total:632All time:4,696
 This week:0This week:1,066Up
 User Comments (1)  
 
Hi !! Its a very good and useful class .
6 years ago (Josť Filipe Lopes Santos)
80%StarStarStarStarStar