my encode sample

[code language=php] // my_encode( ) $secret = ‘11111’; function my_encode($data) { $data = serialize($data); $hash = md5($GLOBALS[‘secret’] . $data); return array($data, $hash); } // my_decode( ) function my_decode($data, $hash) {…Continue Reading …