note 93202 deleted from function.base64-encode by danbrown

From: Date: Fri, 28 Aug 2009 06:50:25 +0000
Subject: note 93202 deleted from function.base64-encode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-159979@lists.php.net to get a copy of this message
Note Submitter: rumburak ---- //url and javascript safe //encrypt $cryptText=base64_encode($str); $cryptText=strtr($cryptText, array('+'=>'_a', '/'=>'_b', '='=>'_c') ); //decrypt $cryptText=strtr($cryptText, array('_a'=>'+', '_b'=>'/', '_c'=>'=') ); $str=base64_decode($cryptText);

« previous php.notes (#159979) next »