mysql_query("set names utf8"); if($_GET['what'] && $_GET['str']){ $find = $_GET['what']; $str = $_GET['str']; $sql = mysql_query("select count(distinct IP) from mnormal_mode where $find like '%$str%'"); }else{ $sql = mysql_query("select count(distinct IP) from mnormal_mode"); } $a = mysql_fetch_array($sql); $total_num = $a[0]; if(!$_GET['maximum']){ $maximum = 10; }else{ $maximum = $_GET['..
for($i=1 ; $i var day = ;
힘들었다......2틀간 꼬박 윈도우 환경에서 보내는 사람 설정 관련 Tip 1) php.ini -> sendmail_from2) $header = "From: $from\r\n"; php.ini 에 sendmail_from 이 설정되어 있을경우이것을 먼저 인식하므로From: $from 해봤자 아무 소용없다. 헤더로 인식하게끔 하려면php.ini에 sendmail_from 주석처리후(Apache 재시작)From: $from\r\n 헤더에 추가하면 된다.