묻고답하기

왜 안될까여?

2005.09.06 23:21

정대환

<?
function hit_hit($read_n) {
  session_start();
  if(!$HTTP_SESSION_VARS["hit"]) { session_register("hit"); }
  $r_no = '_'.$read_no;
  if(!eregi($r_no,$HTTP_SESSION_VARS["hit"])) {
     $hit = $HTTP_SESSION_VARS["hit"].$r_no;
     session_register("hit");
  }
}

$read_no = "22";
hit_hit($read_no);
?>

쿠키에 해당 데이타가 안들어 가지네요
왜 그런지........