|
|
|
|
²ÀÁö / 2001-08-20 / ¿ÀÈÄ 11:33:47 / 211.219.162.155
Á¶È¸¼ö : 139
|
[Áú¹®] ÀÚ·á¾÷·Îµå½Ã ¿ë·®È®ÀÎÀ» ¸ÕÀúÇÒ ¼ö.....ÀÖ³ª¿ä? |
> ¾È³çÇϼ¼¿ä?
>
> ¿À´Ãµµ µé¾î¿Í¼ ±¸°æ¸¸ ÇÏ´Ù°¡
>
> ÇÑ°³ ¹°¾îº¼°Ô °©Àڱ⠻ý°å½À´Ï´Ù.
>
> »çÀÌÆ® °¶·°½Ã »ç¿ëÇؼ ÀÚ·á ¾÷·ÎµåÇÒ¶§¿ä..ÀÚ·áÀÇ Å©±â¸¦ ¹Ì¸®¾Ë°í ¾÷·ÎµåÇϰųª ¸øÇÏ°Ô Çϰųª ÇÒ ¼ö ÀÖÀ»±î¿ä?
> ¾ó¸¶Àü¿¡ 40¸Þ°¡Â¥¸®¸¦ ¿Ã·È´Ù°¡ ¼¹ö°¡ ¹ö¹÷~ °Å¸®´Â ¹Ù¶÷¿¡ Àß ¾È‰ç¾ú´Âµ¥....
>
> ¾î¶»°Ô ¹æ¹ýÀÌ ¾øÀ¸±î¿ä?
> °¡´ÉÇÏ¸é ±×ºÎºÐÀÇ ¼Ò½º°¡ ÀÖÀ¸¸é Á¶..¤¾°Ú½À´Ï´Ù..
>
-----------------------------------------------------------
Set UploadForm=Server.CreateObject("SiteGalaxyUpload.Form")
P_FileSize=UploadForm("P_FileName").Size
ÀÌ·¸°Ô ÇÏ½Ã¸é ¾÷·Îµå µÇ´Â ÆÄÀÏÀÇ ¿ë·®ÀÌ º¯¼ö¿¡ ÇÒ´çÀÌ µÇ°Ô µË´Ï´Ù.
ÆÄÀÏ¿ë·® ´ÜÀ§´Â byteÀ̱¸¿ä...
Âü°í·Î
UploadForm("P_FileName") ÀÇ
P_FileNameÀº ÀÔ·ÂÆûÀÇ file°³Ã¼ÀÇ À̸§ÀÔ´Ï´Ù.
<input type="file" name="P_FileName">
±×·¯¸é À§ÀÇ ÄÚµå ´ÙÀ½¿¡
If P_FileSize > 10240000 Then
'10M°¡ ÃÊ°ú ÇÒ °æ¿ìÀÇ Ã³¸®ºÎºÐ
Else
'SiteGalaxyÀÇ ÇÔ¼ö¸¦ ÀÌ¿ëÇϰųª,FSO¸¦ ÀÌ¿ëÇÏ¿© ÆÄÀÏ ÀúÀå ó¸® ºÎºÐ
End If
±×·³ Áñ°Å¿î ÇÁ·Î±×·¡¹Ö µÇ½Ã±æ...
|
|
|
|