|
|
|
|
¾öÀº¹è / 2001-09-24 / ¿ÀÀü 6:12:42 / 61.78.29.23
Á¶È¸¼ö : 130
|
[Áú¹®] üũ¹Ú½º¿¡ °üÇÑ Áú¹® ÀÔ´Ï´Ù. °í¼ö´Ôµé µµ¿ÍÁÖ¼¼¿ä |
¾È³çÇϼ¼¿ä.
´Ù¸§À̾ƴ϶ó üũ¹Ú½º¸¦ ¼±ÅÃÇÏ°í ÀúÀåÀ» ´©¸£¸é
¼±ÅõȰªÀ» ÀúÀåÇÏ°í ÇÔ´Ï´Ù. ±×·±µ¥ ÀúÀåÀº ¾ÈµÇ¿©
Áö±Ý À̹®Á¦·Î Àáµµ ¸øÀÚ°í ÀÖ½À´Ï´Ù. ¾Ë·ÁÁÖ¼¼¿ä
¾î¶²¹®Á¦À̸é¿ä. db´Â bitÇüÀ¸·Î ¼±¾ðµÇ¾îÀÖ½À´Ï´Ù.
0À̸é üũ¹Ú½º¿¡ üũ°¡ ¾ÈµÇ°í¿ä 1À̸é üũ¹Ú½º¿¡
üũ°¡ µÇµµ·Ï Çϴ°ÍÀÔ´Ï´Ù. ÇÏÁö¸¸ ¾Æ¹«¸® Çصµ
¾ÈµÇ¿© µµ¿ÍÁÖ¼¼¿ä. ¼Ò½º´Â ´ÙÀ½°ú ¾Æ·¡¿Í °°½À´Ï´Ù.
<%@ language=vbscript %>
<%
<!¾Õ¿¡¼ ÆäÀÌÁö¿¡¼ ³Ñ¾î¿Â °ªµé-->
bunho = clng(request("bunho"))
check = trim(request.form("check"))
set abc=server.createobject("adodb.connection")
abc.open "aaaa","sa",""
if ( true = check) then
check = 1
sqlquery = "update probhead set "
sqlquery = sqlquery & " probh_priv='" & check & "'"
sqlquery = sqlquery & " where probh_bunho=" & bunho
abc.Execute(sqlquery)
response.redirect "problist.asp"
else
check = 0
sqlquery = "update probhead set "
sqlquery = sqlquery & " probh_priv='" & check & "'"
sqlquery = sqlquery & " where probh_bunho=" & bunho
abc.Execute(sqlquery)
response.redirect "problist.asp"
end if
abc.close
set abc = nothing
%>
¿¡·¯´Â ¾ø´Âµ¥ ÀúÀåÀÌ ¾ÈµÇ¿© µµ¿ÍÁÖ¼¼¿ä...... |
|
|
|