묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
이문구는 도대체.. 무슨 오류라고 하는건가요....???
2004.02.26 18:28
Fatal error: Call to undefined function: mssql_connect() in c:kebihomemyhomeidreg.php on line 24
24번째줄이 잘못되었단뜻인가요..??
24번째줄에는 틀리게 기입되어 있는게 없는데..
밑에는 파일의 소스입니다..
----------------------------------------------------------------------------
<html>
<head>
<title>MuPlanet | Signup</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$login = stripslashes($_POST['login']);
$name = stripslashes($_POST['name']);
$email = stripslashes($_POST['email']);
$pw = stripslashes($_POST['pw']);
$cpw = stripslashes($_POST['cpw']);
$prq = stripslashes($_POST['prq']);
$pra = stripslashes($_POST['pra']);
if (empty($login) || empty($name) || empty($email) || empty($pw) || empty($cpw)) {
echo "Some fields were left blank. Please go back and try again.";
}
elseif ($pw != $cpw) {
echo "The passwords you entered do not match.";
}
else {
$msconnect=mssql_connect("아이피주소","sa","패스워드");
$msdb=mssql_select_db("MuOnline",$msconnect);
$msquery = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('1','$login','+ '+ '$pw','$name', '1','1234','11111','personalid','12343','$email','test@test.com','$prq','$pra','1','2003-11-23','2003-11-23','2003-11-23','2003-11-23','1','0','1')";
$msquery2 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,'$login','$name',1,'7','6','3','6','6','2003-11-23 10:36:00','0' )";
$msresults= mssql_query($msquery);
$msresults= mssql_query($msquery2);
}
?>
<div align="center">
<table width="67%" height="339" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="19"><img src="images/logo.jpg" width="700" height="103"></td>
</tr>
<tr>
<td valign="top"><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your account has been created succesfully:<br>
Login ID: <?php print "$login"; ?><br>
Name: <?php print "$name"; ?> <br>
Email: <?php print "$email"; ?> <br>
Password: <?php print "$pw"; ?> <br>
Recovery Question: <?php print "$prq"; ?> <br>
Recovery Answer: <?php print "$pra"; ?> </font><br>
</p>
</td>
</tr>
</table>
</div>
</body>
</html>
--------------------------------------------------------------------------------------------------------------------
문제점좀 발켜주세요 ㅠㅠ
24번째줄이 잘못되었단뜻인가요..??
24번째줄에는 틀리게 기입되어 있는게 없는데..
밑에는 파일의 소스입니다..
----------------------------------------------------------------------------
<html>
<head>
<title>MuPlanet | Signup</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<?php
$login = stripslashes($_POST['login']);
$name = stripslashes($_POST['name']);
$email = stripslashes($_POST['email']);
$pw = stripslashes($_POST['pw']);
$cpw = stripslashes($_POST['cpw']);
$prq = stripslashes($_POST['prq']);
$pra = stripslashes($_POST['pra']);
if (empty($login) || empty($name) || empty($email) || empty($pw) || empty($cpw)) {
echo "Some fields were left blank. Please go back and try again.";
}
elseif ($pw != $cpw) {
echo "The passwords you entered do not match.";
}
else {
$msconnect=mssql_connect("아이피주소","sa","패스워드");
$msdb=mssql_select_db("MuOnline",$msconnect);
$msquery = "INSERT INTO MEMB_INFO (memb_guid,memb___id,memb__pwd,memb_name,sno__numb,post_code,addr_info,addr_deta,tel__numb,mail_addr,phon_numb,fpas_ques,fpas_answ,job__code,appl_days,modi_days,out__days,true_days,mail_chek,bloc_code,ctl1_code) VALUES ('1','$login','+ '+ '$pw','$name', '1','1234','11111','personalid','12343','$email','test@test.com','$prq','$pra','1','2003-11-23','2003-11-23','2003-11-23','2003-11-23','1','0','1')";
$msquery2 = "INSERT INTO VI_CURR_INFO (ends_days,chek_code,used_time,memb___id,memb_name,memb_guid,sno__numb,Bill_Section,Bill_value,Bill_Hour,Surplus_Point,Surplus_Minute,Increase_Days ) VALUES ('2005','1',1234,'$login','$name',1,'7','6','3','6','6','2003-11-23 10:36:00','0' )";
$msresults= mssql_query($msquery);
$msresults= mssql_query($msquery2);
}
?>
<div align="center">
<table width="67%" height="339" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="19"><img src="images/logo.jpg" width="700" height="103"></td>
</tr>
<tr>
<td valign="top"><p><font size="2" face="Verdana, Arial, Helvetica, sans-serif">Your account has been created succesfully:<br>
Login ID: <?php print "$login"; ?><br>
Name: <?php print "$name"; ?> <br>
Email: <?php print "$email"; ?> <br>
Password: <?php print "$pw"; ?> <br>
Recovery Question: <?php print "$prq"; ?> <br>
Recovery Answer: <?php print "$pra"; ?> </font><br>
</p>
</td>
</tr>
</table>
</div>
</body>
</html>
--------------------------------------------------------------------------------------------------------------------
문제점좀 발켜주세요 ㅠㅠ