Login   Register  
PHP Classes
elePHPant
Icontem

URL Encoder: Encode data to pass securely between two pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-11-14 (10 years ago) RSS 2.0 feedStarStarStar 45%Total: 2,246 All time: 1,623 This week: 1,398Up
Version License Categories  
url_encoder 1.0BSD LicenseCryptography, Text processing
Description Author  

This class is used to encode data being passed between two sources that can be either two pages via URL arguments or by any other data storage media like databases, files or sessions variables.

It works by taking an array of variables and their values and encode it using a private key only known by the server scripts to create a string that represents those variables.

When another page script receives the encoded data, the class can decode it and restore the variables original values using the same server private key.

This way the class can be used pass or store data without the possibility of tampering by the users of a site or any other agent that does not have access to the site scripts.

Picture of Jason Browatzke
Name: Jason Browatzke <contact>
Classes: 1 package by
Country: Canada Canada
Age: 32
All time rank: 123833 in Canada Canada
Week rank: 1763 Down39 in Canada Canada Down

  Files folder image Files  
File Role Description
Plain text file class.get_crypt.php Class Main class
Accessible without login Plain text file rec.php Example Main class
Accessible without login Plain text file send.php Example Main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,246All time:1,623
 This week:0This week:1,398Up
 User Ratings  
 
 All time
Utility:62%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:-
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:1910