include("wghead.inc"); ?> if($ck_bm_del == ""){ if($ck_bm==""){ $ck_bm=$ck_bm_add; } else{ $ck_bm=$ck_bm.",".$ck_bm_add; } } else{ // $ck_bm='1,2,3,4,5,6,61,62,63,64'; $game_n=explode(",",$ck_bm);//文字列から区分け文字でデータ取り出し $tnum=count($game_n);//配列要素数 for($i=0;$i<$tnum;$i++){ if($game_n[$i] != $ck_bm_del){ if($ck_bm_fr==""){ $ck_bm_fr=$game_n[$i]; } else{ $ck_bm_fr=$ck_bm_fr.",".$game_n[$i]; } } } $ck_bm=$ck_bm_fr; } SetCookie("ck_bm",$ck_bm,time()+3600*24*30*6,"","webgame.co.jp"); //SetCookie(ck_bm,"","","","webgame.co.jp"); ?>