function base_encode($str) { $src = array("/","+","=","?",""); $dist = array("_.a._","_.b._","_.c._","_.d._","_.e._"); $new = str_replace($src,$dist,$str); return $new; } function base_decode($str) { $src = array("_.a._","_.b._","_.c._","_.
function base_encode($str) { $src = array("/","+","=","?","&"); $dist = array("_.a._","_.b._","_.c._","_.d._","_.e._"); $new = str_replace($src,$dist,$str); return $new; } function base_decode($str) { $src = array("_.a._","_.b._","_.c._","_.d._","_.e._"); $dist = array("/","+","=","?","&"); $new = str_replace($src,$dist,$str); return $new; }