|
|
|
|
nahany / 2000-09-08 / ¿ÀÀü 11:29:28 / 211.56.239.13
Á¶È¸¼ö : 116
|
[Áú¹®] win98¿¡¼ ÀÛ¾÷ÇÏ°í win2000¿¡¼ ½ÇÇà.. |
¾È³çÇϼ¼¿ä °¡²û ÀÌ°÷¿¡¼ µé·¯ ÁÁÀºÁ¤º¸¸¸¾ò¾î°¡°í Àִ»ç¶÷ÀÔ´Ï´Ù.
°Ô½ÃÆÇÀ» ¸¸µé´Ù°¡ ¹®Á¦°¡ »ý°Ü¼ µµ¿òÀ» ¿äûÇÕ´Ï´Ù.
Àú´Â ÀÛ¾÷À» win98¿¡¼ pws¿¡ mssqlÀ» »ç¿ëÇÏ°í ÀÖÀ¾´Ï´Ù.
°Ô½ÃÆÇ ÀÛ¾÷À» Çؼ Á¦ pc¿¡¼´Â ¾Æ¹«·± ¹®Á¦ ¾øÀÌ µ¹¾Æ°¡´Âµ¥
À̼ҽº¸¦ win2000¼¹ö¿¡ ³Ö°í µ¹¸®¸é ¸®½ºÆ®´Â º¸¿©Áö´Âµ¥
±ÛÀ» ÀԷ¹޾Ƽ ÀúÀåÇÏ´Â(write_ok.asp) ºÎºÐ¿¡¼
'³»ºÎ¼¹ö¿À·ù 505 '¸Þ¼¼Áö¸¦ ¹Þ½À´Ï´Ù.
¼Ò½º´Â ´ÙÀ½Ã³·³ ÇßÀ¾´Ï´Ù.
¿Ö ±×·±Áö °í¼ö´ÔµéÀÇ Á¶¾ðÀ» ±â´Ù¸®°ÚÀ¾´Ï´Ù.
< !-- #include file= "dbopen.asp" -- >
<%
ip=Request("REMOTE_ADDR")
name = request("name")
email = request("email")
homepage = request("homepage")
title = replace(request("title"),chr(34),""")
pwd = request("pwd")
content = request("content")
textcolor= request("textcolor")
bgcolor=request("bgcolor")
if trim(title) = "" then
%>
< script language="javascript" >
alert ("Á¦¸ñÀÌ ¾øÀ¸¸é ´Ù¸¥ºÐµéÀÌ ±ÛÀ»È®ÀÎÇÒ¼ö ¾øÀ¾´Ï´Ù");
history.back();
< /script >
<%
else
SQL = "Select Max(num) from Board"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL, db
If IsNULL(rs(0)) Then
number = 1
else
number = rs(0) + 1
End If
****** Áß°£»ý·« (´äº¯Çü¿¡ °üÇÑ°Í) *****
SQL = "INSERT INTO Board (name,email,homepage,title,content,ip,textcolor,bgcolor,num,"
SQL = SQL & "readnum,ref,re_level,re_step,pwd) VALUES "
SQL = SQL & "('" & name & "'"
SQL = SQL & ",'" & email & "'"
.......
SQL = SQL & "," & re_step
SQL = SQL & ",'" & pwd & "')"
db.Execute SQL
rs.Close
db.close
Set rs = Nothing
Set db = Nothing
%>
< html >
< head >< title >±Û¾²±âÈ®ÀÎ< /title >
< /head >
< body topmargin="250" >
< center >
< font size="8" color="skyblue" face="±¼¸²Ã¼" >±ÛÀÌ ¼º°øÀûÀ¸·Î µî·Ï µÇ¾úÀ¾´Ï´Ù.< /font >< br >< br >
< a href="list.asp" >¸®½ºÆ®ÆäÀÌÁö·Î À̵¿< /a >
< /body >
< /html >
<% end if %>
À½ º°°Åµµ ¾Æ´Ñ°Å·Î Áö¸éÀ» ¸¹ÀÌ »ç¿ëÇÑÁ¡ Á˼ÛÇÕ´Ï´Ù.
´äº¯ ºÎŹµå¸³´Ï´Ù.
±×¸®°í Áñ°Å¿î Ãß¼®µÇ¼¼¿ä ¼ÛÆíµµ ¸¹ÀÌ µå½Ã±¸¿ä
|
|
|
|