PHP Classes

URL Encoder: Encode data to pass securely between two pages

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 2,282 All time: 1,705 This week: 282Up
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: 39
All time rank: 133133 in Canada Canada
Week rank: 917 Up15 in Canada Canada Up

  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,282
This week:0
All time:1,705
This week:282Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2343
  
For more information send a message to info at phpclasses dot org.