base64不能实现加密,只是采用了不同方式来对数据进行编码,方便通过防火墙传输,php中base64 encode函数base64_encode("http://www.baidu.com/q?ct=17fjioasfjsoadfaf5451"); decode函数base64_decode($str); php下,有加密函数string crypt ( string str [, string salt]),自己看看文档把。