|
|
|
|
俵ÀÌ / 2000-05-22 / ¿ÀÈÄ 8:49:31 / 203.255.3.190
Á¶È¸¼ö : 119
|
[Áú¹®] °¨»çÇÕ´Ï´Ù^^(Æú´õ»ý¼º)y |
> ¿¡·¯´Â ¾È³ª±¸¿ä~
>
> ´ÜÁö Æú´õ°¡ ¾È»ý±â³×¿ä,,, --;;;
>
> Ȥ½Ã ±× Æú´õ°¡ »ý±æ ºÎ¸ðÆú´õ¿¡
>
> º¸¾ÈÀ» »ö´Ù¸£°Ô ¹Ù²ã¾ß ÇÏ´Â°Ô ¾Æ´Ò±î¿©?
>
> ¹Ù²Ù±â·Î ¹Ù²ãº¸±âµµ Çϱ¸
>
> ¸ðµç ±ÇÇÑ(¸ðµÎ¸ðµÎ)·Î ¹Ù²ãº¸±âµµ Çߴµ¥
>
> ¿Ö ¾ÈµÇ´ÂÁö...
>
> userid´Â ¿À´Âµ¥ ....
>
> ÀÌ»óÇØ¿© ¤Ð.¤Ð
>
> ¾ÏÆ° °í¸¶¿ö¿©~
>
> ÀÌ°Í Àú°Í Çغ¸´Ù º¸¸é ³ª¿À°ÚÁ® ¸Ó~
>
> È÷È÷È÷
>
> Àß µÇ¸é ¿©±â´Ù ³²±æ²²¿©~
>
> > > <%
> > > set conn=Server.CreateObject("ADODB.Connection")
> > > conn.Open "appdb","sa",""
> > > sql="select id from member where id='" & request("userid") & "'"
> > > set rs=conn.execute(sql)
> > > if not rs.eof then
> > > %>
> > > < script >
> > > alert("ÀÌ¹Ì Á¸ÀçÇÏ´Â ¾ÆÀ̵ð ÀÔ´Ï´Ù. ´Ù½Ã ±âÀÔÇØÁÖ¼¼¿ä");
> > > history.back();
> > > < /script >
> > > <%
> > > else
> > > Set fs = Server.CreateObject("Scripting.FileSystemObject")
> > > fs.CreateFolder("c:\html»ý¼º\" & request("userid"))
> > > name=request("name")
> > > id=request("userid")
> > > pwd=request("pwd1")
> > > ssn=request("ssn1") & "-" & request("ssn2")
> > > sex=request("sex")
> > > job=request("job")
> > > email=request("email")
> > > intro=request("intro")
> > > intro=replace(intro,"'","''")
> > > sql="insert into member(id,name,juminno,passwd,"
> > > sql=sql & "email,job,sex,intro) values"
> > > sql=sql & "('" & id & "','"
> > > sql=sql & name & "','"
> > > sql=sql & ssn & "','"
> > > sql=sql & pwd & "','"
> > > sql=sql & email & "','"
> > > sql=sql & job & "','"
> > > sql=sql & sex & "','"
> > > sql=sql & intro & "')"
> > > conn.execute sql
> > >
> > > %>
> > > < script >
> > > alert("ÃàÇÏ! »õ·Î¿î ¾ÆÀ̵ð·Î ·Î±×ÀÎÀ» ÇØÁÖ¼¼¿©~~")
> > > location.href="login.asp?NewMember=<%=id%>"
> > > < /script >
> > >
> > > <% end if %>
> > >
> > > µµ´ëü ¿Ö ¾ÈµÇ´ÂÁö.. ¤Ð.¤Ð
> > -----------------------------------------------------------
> >
> > ¾î¶² ¿¡·¯°¡ ³ª´ÂÁö¿ä?
> >
> > Ưº°È÷ ¿¡·¯°¡ ³¯¸¸ÇÑ°ÍÀº º¸ÀÌÁö ¾Ê´Â±º¿ä....
> >
> > userid °¡ Á¦´ë·Î ³Ñ¾î¿À´ÂÁö È®ÀÎÇØ º¸´Â °ÍÀÌ °¡Àå ÁÁÀ» °Í °°Àºµ¥¿ä...
> >
> >
> -----------------------------------------------------------
>
>
-----------------------------------------------------------
FileSystemObject¸¦ »ç¿ëÇÒ¶§´Â ±ÇÇÑÀº º°¹®Á¦°¡ ¾ø´Â°É·Î ¾Ë°í ÀÖ½À´Ï´Ù.
useridµµ Á¦´ë·Î ³Ñ¾î ¿Â´Ù¸é....
select µÇ¾î Áö´Â °ªÀÌ Á¦´ë·Î µÇ´ÂÁö È®ÀÎÀ» ÇØ ºÁ¾ß°ÚÁö¿ä...
Á¦°¡ ÇØ º¸´Ñ±î Àß µÇ´Âµ¥....
|
|
|
|