$base64 =base64_encode(urlencode($baseStr));