PHP Classes

URL Encoder: Encode data to pass securely between two pages

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 2,285 All time: 1,712 This week: 673Up
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: 42
All time rank: 134732 in Canada Canada
Week rank: 206 Up5 in Canada Canada Up

  Files folder image Files (3)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,285
This week:0
All time:1,712
This week:673Up
 User Ratings  
 
 All time
Utility:70%StarStarStarStar
Consistency:85%StarStarStarStarStar
Documentation:-
Examples:70%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2681