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
|
<? include("./_common2.php"); @session_start(); include("category/opcommon.php");
$adminid = $_SESSION[ADMINID];
//print_r($_POST); $ui = $_POST['userid'];
$username = addslashes($username); $bigo = addslashes($bigo);
//echo("<script> alert('$adminid');</script>"); $isql = "INSERT INTO regist_user ( user_id, app_code, cdkey, enddate, user_name, license_pc, license_pda, sale_amount, bigo, rgster) value ( '$ui', '$program', '$cdkey', '$endday', '$username', '$pgnum', '$pdanum', '$price', '$bigo', '$adminid')"; mysql_query($isql); //echo $isql;
$idx = mysql_insert_id();
$edate = date("Y-m-d H:i:s",time());
$sql = "insert into regist_user_edate set idx = '{$idx}', edit_date = '{$edate}' "; //echo $sql; mysql_query($sql); ?> <SCRIPT LANGUAGE="JavaScript"> alert("µî·ÏµÇ¾ú½À´Ï´Ù"); parent.self.close(); </SCRIPT>
|