php 一个URL加密解密的程序
* @version 2.0
*/
/**
* SecureURL class
* Auto encode and decode URL query string
*
* @author Nguyen Quoc Bao
*/
class SecureURL
{
/**
* URL Filter array
*
* @var array of URL_Filter
*/
protected static $filters = array();
/**
* URL Parser
*
* @var array of URL_Parser
*/
protected static $parsers = array();
/**
* Encoder
*
* @var Encoder
*/
protected static $encoder = null;
/**
* Query key
*
* @var string
*/
protected static $query_key = "crypt";
/**
* Public variables array
*
* @var string
*/
protected static $public_variables = array();
/**
* Default include flag for filter checking
*
* @var bool
*/
protected static $default_filter_include = true;
/**
* ForceEncode option
*
* @var bool
*/
protected static $force_encode_url = true;
/**
* ProtectMode option
*
* @var bool
*/
|
阅读全文>>
转载于:https://my.oschina.net/lgc/blog/5317