½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
ASP
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 359 | Á¶È¸¼ö 4,991 | µî·ÏÀÏ 2011-12-22 21:25:24

´Ð³×ÀÓ

lljwhll

À̸ÞÀÏ

lljwhll@naver.com

Á¦¸ñ

ADODB.Stream ¿À·ù ¤Ð¤Ð
³»¿ë

 


ADODB.Stream  À» ÀÌ¿ëÇؼ­ utf-8ÆÄÀÏ¿¡ ÅؽºÆ®¸¦ Ãß°¡ ÇÒ·Á°í Çϴµ¥ ´ÙÀ½°ú °°ÀÌ ¿¡·¯°¡ ³³´Ï´Ù.

ADODB.Stream ¿À·ù '800a0bbc'

ÆÄÀÏ¿¡ ¾²Áö ¸øÇß½À´Ï´Ù.

/spam/filter_save_2.asp, ÁÙ 49

 

 

±¸Á¶´Â 1¹ø ¼­¹ö¿¡¼­ 2¹ø¼­¹öÀÇ ÆäÀÌÁö¸¦ È£ÃâÇؼ­ 2¹ø¼­¹ö¿¡ÀÖ´Â .datÆÄÀÏ(utf-8)¿¡ ÅؽºÆ®¸¦ Ãß°¡Çϴµ¥¿ä
À§¿¡¿Í °°Àº ¿¡·¯°¡ ³ª³×¿ä ¤Ð

µ¥ÀÌÅÍ ÀÔ·ÂÇÏ´Â ºÎºÐÀº
 set objStream = server.CreateObject("ADODB.Stream")
   objStream.Open
   objStream.Type = 2
   objStream.Charset = "utf-8"

   do while not Rs.EOF
    for i=0 to Rs.fields.count - 1
    objstream.WriteText Rs(i) & vbcrlf
    
    next
    Rs.movenext
    loop
    
   objStream.SaveToFile filter_path, 2

   objstream.Close
   set objstream =nothing
   Rs.close
   set Rs = nothing
   
  ¼Ò½ºÀÇ ÀϺκÐÀε¥ ¿¡·¯°¡ ³ª´Â ºÎºÐÀº
  
  objStream.SaveToFile filter_path, 2 ¿©±â¼­ ¿¡·¯°¡ ³ª³×¿ä ¤Ð
  ¿øÀÎÀ» ¸ð¸£°Ú¾î¿ä;;
  ¾î¶»°Ô ó¸® ÇؾßÇϳª¿ä ¤Ð

Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û ¼Ö·ç¼ÇÀ» ¾î¶»°Ô ¼öÁ¤ÇÒ¼öÀÖ³ª¿ä? 2011-11-30 17:13:31
´ÙÀ½°Ô½Ã±Û À̹ÌÁö¸¦ Áö±¸ÀÚÀüÇϵíÀÌ È¸Àü½ÃÅ°±â È¿°ú´Â? 2012-01-14 12:33:31