‘O ŽŸ V10 1- ”Β Ά·ΊΠ
[361]ŸVIPPERXDdc 2009/10/04(“ϊ) 13:02:43 ID:s2uNZwA2
>>352
# ƒgƒŠƒbƒv
# $trip ‚Ν0thello‚ΙŽg—p
$trip = '';
if (preg_match("/([^\#]*)\#(.+)/", $_POST['FROM'], $match)) {
‚Μ‰Ί‚Μ4s
$salt = substr($match[2]."H.", 1, 2);
$salt = preg_replace("/[^\.-z]/", ".", $salt);
$salt = strtr($salt,":;<=>?@[\\]^_`","ABCDEFGabcdef");
$trip = substr(crypt($match[2], $salt),-10);
‚π«««««««
if(strlen($match[2])>=12) { //12Œ…ƒgƒŠƒbƒv
$mark = substr($match[2], 0, 1);
if($mark == '#' || $mark == '$') {
if (preg_match('|^#([[:xdigit:]]{16})([./0-9A-Za-z]{0,2})$|',$match[2],$str))
$trip = substr(crypt(pack('H*', $str[1]), "$str[2].."), -10);
else $trip = '???'; //«—ˆ‚ΜŠg’£—p
} else {
$trip = substr(base64_encode(sha1($match[2],TRUE)),0,12);
$trip = str_replace('+','.',$trip);
}
} else { //10Œ…ƒgƒŠƒbƒv
$salt = substr($match[2]."H.", 1, 2);
$salt = preg_replace("/[^\.-z]/", ".", $salt);
$salt = strtr($salt,":;<=>?@[\\]^_`","ABCDEFGabcdef");
$trip = substr(crypt($match[2], $salt),-10);
}
ͺͺͺͺͺͺͺ‚Ι’u‚«Š·‚¦
‚ŁA‚Η‚€‚Α‚·‚©H
‘O ŽŸ Ά·ΊΠ
r.php ver2.5 (2005/03/28)