base64_encode是加密
复制代码
1
2
3
4
5base64_encode 语法:string base64_encode(string data); $string='www.zhix.net智昕网络'; //定义字符串 echo base64_encode($string); // 输出编码后的内容为 d3d3LnpoaXgubmV05pm65piV572R57uc
base64_decode是解密
复制代码
1
2
3
4
5base64_decode 语法:string base64_decode(string data); $string='d3d3LnpoaXgubmV05pm65piV572R57uc'; //定义字符串 echo base64_decode($string); //输出解码后的内容 www.zhix.net智昕网络
最后
以上就是过时台灯最近收集整理的关于PHP中 base64_decode与base64_encode加密解密函数的全部内容,更多相关PHP中内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复