Posted
Filed under PHP
/*동일 아이피 중복 체크_start() */
  $sql = "select count(*) as cnt from $g4[member_table] where mb_ip='$_SERVER[REMOTE_ADDR]'";
  $row = sql_fetch($sql);
  if($row[cnt]>0) alert("이미 동일IP로 가입되어있습니다.");
  /*동일 아이피 중복 체크_end() */
2012/01/24 16:11 2012/01/24 16:11