PHP Classes

URL Encoder: Encode data to pass securely between two pages

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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,264 All time: 1,639 This week: 600Up
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: 33
All time rank: 126233 in Canada Canada
Week rank: 1643 Down33 in Canada Canada Equal

  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,264All time:1,639
 This week:0This week:600Up
 User Ratings  
 All time