1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
<? include("./_common.php"); include("../../manage/category/common.php");
//if($_SESSION["nomem_hash".date("H",time())]!=$_SERVER['REMOTE_ADDR']){ exit; }
$reg_date = date('Y-m-d (H:i)',Time()); //ÁÖ¹®ÀÏÀÚ
$detail = iconv("utf-8","euckr",$detail);
/*$to='mjsoft@naver.com'; $subject="mjsoft.co Á¦Ç°Ã£±â °³¼±ÀÌ Á¢¼ö µÇ¾ú½À´Ï´Ù."; $msg="³»¿ë:$detail";
$sendmail = mail($to,$subject,$msg);*/
$insertQry = "INSERT INTO mBoard_progsel_problem (`uid`,`smname`,`smtel`,`smemail`,`smoption`,`smtitle`,`smdetail`,`reg_date`,`ipadd`,`telname`, state) VALUES (null , '$username' , '$btellephone' , '$email' , '$option' , '$title' , '$detail' , '$reg_date' , '{$_SERVER['REMOTE_ADDR']}' , '$telname' , '¹ÌÈ®ÀÎ' )";
MYSQL_QUERY($insertQry);
$mode_ok = "Y";
echo "<?php xml version='1.0' encoding='utf-8'?><output>"; echo "<mode>".$mode."</mode>"; echo "<mode_ok>".$mode_ok."</mode_ok>"; echo "<rtn_url>".$rtn_url."</rtn_url>"; echo "<msg>".$msg."</msg>"; echo "<contact_time>".$ct."</contact_time>"; echo "</output>";
?>
|