php把sqlserver存的16进制图片 转2进制 转base64

function hextobase64($str){
 
    return chunk_split(base64_encode(pack('H*',$icon_hex)));
}
大家可以自己查下各函数用法
posted @ 2020-11-21 15:31  MasterC  阅读(271)  评论(0编辑  收藏  举报