编码和解码函数
$data = "VGhpcyBpcyBhIAptdWx0aS1saW5lIG1lc3NhZ2UK";//解码前的值
print ($data);
print(base64_decode($data)); //进行解码
?>
print("
");
$text = "这是一个多行信息";
print ($text);
print(base64_encode($text)); //编码
?>
http://www.bkjia.com/PHPjc/445148.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/445148.htmlTechArticleHTML HEAD TITLE编码和解码函数/TITLE /HEAD BODY ? $data = "VGhpcyBpcyBhIAptdWx0aS1saW5lIG1lc3NhZ2UK";//解码前的值 print ($data); print(base64_decode($data)); //进行解码...