新10 1- カキコミ
[259]β哲子さん◆1GwReh1dZw 2006/09/20(水) 00:58:27 ID:4psGoMP.
#====================================================
# IDNUM生成(端末固有)
#====================================================
if (($term == D2) && preg_match("/;icc/i", $UA)){
#$idnum = stristr($UA, "ser");
#$idnum = substr($idnum, 3, 15);
$idnum = stristr($UA, "icc");
$idnum = substr($idnum, 3, 20);
} elseif (($term == D2) && preg_match("/\/ser/i", $UA)){
$idnum = stristr($UA, "ser");
$idnum = substr($idnum, 3, 11);
} elseif (($term == A2) || ($KDDIID)){
$idnum = substr($KDDIID, 0, 14);
} elseif (($term == V2) || ($VODAFONEID)){
$idnum = substr($VODAFONEID, 2, 15);
} elseif($term == D1 || $term == A1 || $term == V1 || $term == PC){ $idnum = $ADDR;}
else {DispError("ERROR!","ERROR:端末情報を<br />送信して下さい。");}
カキコミ
r.php ver2.5 (2005/03/28)