¾È±Ô °øºÎ¹æ

ACTIVE SERVER PAGE > ±Û »èÁ¦Çϱâ

µî·ÏÀÏ : 2017-07-03 20:15 Á¶È¸¼ö : 52,609

°Ô½ÃÆÇÀÇ ±Û »èÁ¦¿Í º°¹Ý Â÷ÀÌ°¡ ¾ø´Ù. ´Ü, ÆÄÀϸíÀ» ÃëÇÏ¿©, ÆÄÀÏÀÌ Á¸ÀçÇßÀ»½Ã¿£ FSO ÄÄÆ÷³ÍÆ®¸¦ »ç¿ëÇØ »èÁ¦ÇØ ÁÖ¾ú´Ù.
 
	
		<%	  
		tname=request("tname")
		dbname=request("dbname")
	    
		Set db = Server.CreateObject("ADODB.Connection")
		db.Open("dsn=xxx;uid=sa;pwd=;database="&dbname)
	
		SQL = "select * from " & tname & " where  num = " & request("num")  
		Set rs = Server.CreateObject("ADODB.RecordSet")
		rs.Open SQL,db
	     
		filename=trim(rs("file_name"))
		
		if filename<>"¾øÀ½" then 
			filename="c:\inetpub\wwwroot\download\"&filename
			set fs=createobject("scripting.filesystemobject")
	        	fs.deletefile(filename)
	    	end if
	       
		SQL1 = " DELETE FROM databank where num = " & request("num")       
		db.execute SQL1
		%>
 		


¡Ø Ȥ½Ã µµ¿òÀÌ µÇ¼Ì´Ù¸é ´ñ±Û¿¡ ÇѸ¶µð ³²°ÜÁÖ¼¼¿ä!
ÀÛ¼ºÀÚ   ºñ¹Ð¹øÈ£
ÀÚµ¿±Û ¹æÁö     (ÀÚµ¿±Û ¹æÁö ±â´ÉÀÔ´Ï´Ù.)
³»¿ë   ´ñ±Û´Þ±â 
À̸ÞÀÏ ¹®ÀÇ : cak0280@nate.com  
Copyright 2000 By ENTERSOFT.KR All Rights Reserved.