pic.php文件用于解密base64_encode
function pic_base64_encode($s){
preg_match_all(‘#]*>#i’, $s, $match);
o
r
i
w
e
b
=
′
′
;
f
o
r
e
a
c
h
(
oriweb=''; foreach(
oriweb=′′;foreach(match[1] as $imgurl){
$imgurl = $imgurl;
if(is_int(strpos($imgurl, 'http'))){
$arcurl = $imgurl;
} else {
$arcurl = $oriweb.$imgurl;
}
$img=base64_encode($arcurl);
s = s t r r e p l a c e ( s=str_replace( s=strreplace(imgurl, i m g , img, img,s);
}
return $s;
}