|
|
|
|
俵ÀÌ / 2000-05-22 / ¿ÀÈÄ 5:57:49 / 203.255.3.190
Á¶È¸¼ö : 123
|
[Áú¹®] ¿Ö ¾ÈµÇ´ÂÁö ¤Ð.¤Ð °¥ÄÑÁÖ¼¼¿µ~(Æú´õ»ý¼º) |
> <%
> 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
> %>
>
> <%
> 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 °¡ Á¦´ë·Î ³Ñ¾î¿À´ÂÁö È®ÀÎÇØ º¸´Â °ÍÀÌ °¡Àå ÁÁÀ» °Í °°Àºµ¥¿ä...
|
|
|
|