|
|
|
|
俵ÀÌ / 2001-08-16 / ¿ÀÀü 10:57:05 / 203.255.3.190
Á¶È¸¼ö : 129
|
[Áú¹®] »çÀÌÆ®°¶·°½Ã¾÷·Îµå¿¡¼y |
> ±×·¡¼ °³Ã¼ ¸í µÚ¿¡ 1,2,3...
> ÀÌ·¸°Ô 8±îÁö ºÙÀÌ°í, ³Ñ°Ü¼
>
> for i = 1 to Cint(UploadForm("imgFileNum"))
> set oFSImg = server.CreateObject("Scripting.FileSystemObject")
> imgFilename = oFSImg.GetFileName(UploadForm("pub_img"&i))
> imgFullPath ="d:\wis_test\infomation\whatsnew\news_pol\pub_img\"&imgFilename
> UploadForm("pub_img"&i).SaveAs(imgFullPath)
> set oFSImg = Nothing
> next
>
> ÀÌ·¸°Ô 󸮸¦ Çϴµ¥µµ
> SaveAs¿¡¼ ¿¡·¯°¡ ³´Ü ¸»ÀÌÁö...
>
> ³Ñ¾î¿À´Â °ªÀ» ¹Þ´Â ºÎºÐÀº ¹®Á¦°¡ ¾Æ´Ñµ¥
> SaveAs¿¡¼ ¿¡·¯°¡ ³ª°Åµç....
-----------------------------------------------------------
Àß µÇ´Âµ¥¿ä... Çü´Ô... ÈìÈì....
imgFilename = oFSImg.GetFileName(UploadForm("pub_img"&i))
¿©±æ
V_FileName=UploadForm("pub_img"&i)
imgFilename = oFSImg.GetFileName(V_FileName)
¿ä·¸°Ô Çѹø ÇØ º¸¼¼¿ä....
¾Æ.. ±×¸®°í...
CreateObject¶û NothingÀº for ¹ÛÀ¸·Î »©´Â°Ô ÁÁÄ¡ ¾ÊÀ»±î¿ä?
|
|
|