´ç½Å¿¡°Ô·Î ¶°³ª´Â ²Þ¼Ó¿©Çà - ²Þ¼Ó³ª¶ó(http://www.inyourdream.net)
ID¿Í Password¸¦ ÀÔ·ÂÇϼ¼¿ä.
ÀÔ±¹Çϱâ
|
¿µÁÖ±Ç ½Åû
¸öºÎ¸² °ñ¶ó°ñ¶ó
¼Ò±Ù¼Ò±Ù
µµ¶õµµ¶õ
³«¼¸¶´ç
Âø°¢ÇѾÆÀÌ
¼ýÀÚ¸ÂÃß±â
¼Ò¿øºô±â
ÈçÀû³²±â±â
²Þ¼Ó¿©Çà
Ä£±¸Áý ³î·¯°¡±â
¸ðµÎµå¸²´ÔÀÇ È¨
î¤éÞ´ÔÀÇ È¨
Çö¿ì´ÔÀÇ È¨
º°¾ÆÇØ´ÔÀÇ È¨
ÇÞ»ì´ÔÀÇ È¨
À̳ª´Ï´ÔÀÇ È¨
À¯¸®¾Ë´ÔÀÇ È¨
³È³ÈÀÌ´ÔÀÇ È¨
²ÀÁö´ÔÀÇ È¨
´ë¼º´ÔÀÇ È¨
¼öÁ¤ÇϽǶ§´Â ÇʼöÇ׸ñÀ» ¸ðµÎ ÀÔ·ÂÇÏ¼Å¾ß ÇÕ´Ï´Ù.
À̸§
*
°øÁö»çÇ×
ºñ°ø°³
HTML »ç¿ë
Á¦¸ñ
*
¼±ÅÃ
ÀÚÀÛ
»ç¶û
À¯¸Ó
ÀÚÀ¯
̵̧
¾Ë¸²
Áú¹®
±âŸ
³»¿ë
*
¸çÄ¥ ° °í¹ÎÇÏ´Ù °á±¹ µµ¿òÀ» ûÇÏ°íÀÚ ÀÌÄÉ ±Û ¿Ã¸³´Ï´Ù. ÷¿£ Microsoft VBScript ÄÄÆÄÀÏ ¿À·ù error '800a0409' Á¾°áµÇÁö ¾ÊÀº ¹®ÀÚ¿ »ó¼öÀÔ´Ï´Ù. /join_ok.asp, line 34 SQL = "INSERT INTO join (user_id, password, name, reg_num1, reg_num2, sex, birth_y, birth_m, birth_d, birthtype, job, ---------------------------------------------------------------------------------------------------------------------^ À̶ó´Â ÀÌ·± ¿À·ù°¡ ¶ß´õ´Ï, ´Ù½Ã »õ·Î °íħÇÏ´Ï±î ±×ÀÌÈķδ °è¼Ó ÆäÀÌÁö¸¦ ãÀ»¼ö ¾ø´Ù°í Çϳ׿ä... È®ÀÎÇØ º¸¸é HTTP403 - »ç¿ë±ÝÁö ¿À·ù¶ó°í ³ª¿À°Åµç¿ä... ¿ÖÀÌ·¯ÁÒ? SqlÀ̶û ODBC ¿¬°á Á¦´ë·Î ÇØÁá°Åµç¿ä. <% ' 3¡18ÁÙ ±îÁö "join.htm"¿¡¼ ³Ñ°ÜÁØ °ªÀ» Request °´Ã¼ÀÇ Form Ä÷º¼ÇÀ» ÀÌ¿ëÇÏ¿© º¯¼ö¿¡ ÀúÀå user_id=Request.Form("user_id") password=Request.Form("password") name=Request.Form("name") reg_num=Request.Form("reg_num1") &"-"& Request.Form("reg_num2") sex=Request.Form("sex") birthday=Request.Form("birth_y") &"."& Request.Form("birth_m") &"."& Request.Form("birth_d") birtytype=Request.Form("birthtype") job=Request.Form("job") teltype=Request.Form("teltype") tel=Request.Form("tel1") &"-"& Request.Form("tel2") &"-"& Request.Form("tel3") email=Request.Form("email") content=Request.Form("content") joinday=Request.Form("joinday") ' ADODB¸¦ »ç¿ëÇØ µ¥ÀÌÅͺ£À̽º ¿¬°áÀ» Çϱâ À§ÇØ CreateObject¸¦ ÀÌ¿ë. À̶§ ¼³Á¤ÇÑ °ªÀ» ÀúÀåÇϱâ À§ÇØ º¯¼ö con »ç¿ëÇÑ´Ù. Set con = Server.CreateObject("ADODB.Connection") ' "DSN=join"À» ¿¾úÀ» ¶§ 'jjy' °èÁ¤»ç¿ë. con.Open ("DSN=join; UID=jjy; PWD=1119") ' °°Àº ID°¡ ÀÖ´ÂÁö È®ÀÎÇϱâ À§ÇØ ID¸¦ selectÇÑ´Ù. SQL = " SELECT user_id from join where user_id =' " & Request("user_id") & " ' " set result=con.Execute (SQL) ' °°Àº Áֹεî·Ï¹øÈ£°¡ ÀÖ´ÂÁö È®ÀÎ. SQL = " SELECT reg_num from join where reg_num =' " & Request("reg_num") & " ' " set rec=con.Execute (SQL) ' ¸¸ÀÏ "join" Å×ÀÌºí¿¡ id°¡ ÀúÀåµÇ¾î ÀÖ´Ù¸é if not result.EOF then ' ¸¸ÀÏ "join" Å×ÀÌºí¿¡ Áֹεî·Ï¹øÈ£°¡ ÀúÀåµÇ¾î ÀÖ´Ù¸é else if not rec.EOF then ' ¸¸ÀÏ "join" Å×ÀÌºí¿¡ ÀÚ·á°¡ ¾ø´Ù¸é, ´ÙÀ½ ¼öÇà else ' º¯¼ö SQL¿¡ ÀÔ·ÂÇÑ °ªÀ» ÀúÀå. ÀÌ ¶§ ÀÔ·ÂÇÑ Á¤º¸´Â µ¥ÀÌÅͺ£À̽º ÆÄÀÏ¿¡ ÀúÀå. SQL = "INSERT INTO join (user_id, password, name, reg_num, sex, birthday, birthtype, job, teltype, tel, email, content, joinday) values(' " SQL=SQL & "(' " & user_id & " ' " SQL=SQL & ",' " & password & " ' " SQL=SQL & ",' " & name & " ' " SQL=SQL & ",' " & reg_num & " ' " SQL=SQL & ",' " & sex & " ' " SQL=SQL & ",' " & birthday & " ' " SQL=SQL & ",' " & birthtype & " ' " SQL=SQL & ",' " & job & " ' " SQL=SQL & ",' " & teltype & " ' " SQL=SQL & ",' " & tel & " ' " SQL=SQL & ",' " & email & " ' " SQL=SQL & ",' " & content & " ' " SQL=SQL & ",' " & now() & " ')" 'Response.write SQL con.Execute SQL Response.Cookies("MyNet").Expires=#12/31/2010 00:00:00# Response.Cookies("Mynet")("name")=name Response.Cookies("MyNet")("user_id")=user_id '°¡ÀÔ ¿Ï·á âÀ¸·Î ³Ñ¾î°£´Ù. Response.Redirect "join_ok.asp" %> <% end if %> <% ' ȸ¿ø °ü¸® µ¥ÀÌÅͺ£À̽ºÀÇ ±â·Ï°ú ¿¬°á ¼³Á¤À» ´Ý´Â´Ù. rec.close result.close con.close ' ȸ¿ø °ü¸® µ¥ÀÌÅͺ£À̽ºÀÇ ±â·Ï°ú ¿¬°á ¼³Á¤À» ÃʱâÈÇÑ´Ù. set rec=Nothing set result=nothing set con=Nothing %>
Ãß°¡ÇÒ À̹ÌÁö¸¦ ÀÔ·ÂÇϼ¼¿ä.
À̹ÌÁö 1
À̹ÌÁö¼³¸í 1
Ãß°¡ÇÒ ÀڷḦ ÀÔ·ÂÇϼ¼¿ä.
ÀÚ·á 1
ÀÚ·á¼³¸í 1
Ãß°¡ÇÒ ½ÎÀÌÆ®¸¦ ÀÔ·ÂÇϼ¼¿ä.
°ü·Ã½ÎÀÌÆ® 1
½ÎÀÌÆ®¼³¸í 1
Password
*