HTML
Javascript
Flash Actionscript
PHP
mySQL
ASP
MS-SQL
Linux
Others
Ziwoo Board
Portfolio
About
|
|
Flash Actionscript |
ÀÛ¼º |
2007-08-21 16:44:09 Ãßõ: 610 Á¶È¸: 65536 |
Á¦¸ñ |
Ç÷¡½Ã8À» ÀÌ¿ëÇÑ ÆÄÀϾ÷·Îµå(ÇÁ·Î±×·¡½º ¹Ù) |
À̸§(ID) |
Áö¿ì (ziwoo)
|
¸µÅ©1 |
http://www.ziwoo.net/fu |
ÆÄÀÏ |
|
|
|
Ç÷¡½Ã8ºÎÅÍ Á¦°øµÇ´Â ÆÄÀϾ÷·Îµå ±â´ÉÀ» ÀÀ¿ëÇÑ ¾÷·ÎµåÀÔ´Ï´Ù.
¸¸µé¾î ³õÀºÁö´Â ¹Ý³â Âë ³ÑÀº°Í °°Àºµ¥..
¿À´Ã ¼¹ö¿¡ Æú´õ Á¤¸®ÇÏ´Ù°¡ ¹ß°ßÇØ ¿Ã·Áº¾´Ï´Ù.
[ºê¶ó¿ìÀú ȣȯ]:
IE8, ÆÄÀ̾îÆø½º8, Å©·Ò15, ¿ÀÆä¶ó11, »çÆĸ®5
[¼³Ä¡/»ç¿ë¹ý]
¾ÐÃàÆÄÀÏÀ» Ç®¸é fuÆú´õ ¾È¿¡ ´ÙÀ½°ú °°ÀÌ ÆÄÀÏÀÌ µé¾îÀÖ½À´Ï´Ù.
fu
- files µð·ºÅ丮 : Àӽþ÷·Îµå ÆÄÀÏÀÌ ÀúÀåµÇ´Â°÷. (ÇÊÈ÷ chmod 777·Î Á¶Á¤)
- index.php Å×½ºÆ®¸¦ ÇÒ ¼öÀÖ´Â ¸ÞÀÎÆäÀÌÁö.
- multi_upload.swf ´ÙÁß¾÷·Îµå°¡ °¡´ÉÇÑ ¼ï¿þÀ̺ê ÆÄÀÏ
- single_upload.swf ½Ì±Û¾÷·Îµå¸¸ °¡´ÉÇÑ ¼ï¿þÀ̺ê ÆÄÀÏ
- fu.js Ç÷¡½Ã°¡ È£ÃâÇÏ´Â ÀÚ¹Ù½ºÅ©¸³Æ® ÇÔ¼ö ¸ðÀ½
- upload.php Ç÷¡½Ã ¾÷·Îµå°¡ ÇÊ¿ä·ÎÇÏ´Â php ¾÷·Îµå ÆÄÀÏ
¼¹öÀÇ Àû´çÇÑ°÷¿¡ ¾ÐÃàÇ®°í..
files Æú´õ¿¡ ¾²±â °¡´ÉÇϵµ·Ï Á¢±Ù±ÇÇÑ º¯°æÇϽðí..
http://À§ÀÇ Àû´çÇÑURL/fu ·Î Á¢¼ÓÇغ¸½Ã¸é µË´Ï´Ù.
ÄÚµùÀ» ÇÏ´Ùº¸¸é ¸ÖƼ¾÷·Îµå¸¸ ÇÊ¿äÇÑ °æ¿ìµµ ÀÖÁö¸¸,
½Ì±ÛÆÄÀÏÀÌ ¿©·¯°³ ÇÊ¿äÇÑ °æ¿ìµµ ¸¹Áö¿ä..
»óȲ¿¡ ¾Ë¸Â°Ô index.php¸¦ Âü°íÇÏ¿© ¼öÁ¤Çؼ ¾²½Ã¸é µË´Ï´Ù.
P.S. ¸î ¸Þ°¡ ÀÌ»óÀº ¾÷·Îµå°¡ ¾ÈµÈ´Ù´Â ºÐµéÀ» À§ÇÑ [php.ini] ¼³Á¤
1. post_max_size
2. upload_max_filesize
Ç÷¡½Ã ¾÷·Î´õ¸¦ »ðÀÔÇÒ¶§ HTML¿¡¼ ¾÷·Îµå ¿ë·®À» ¼³Á¤ÇÒ ¼ö ÀÖ±ä ÇÏÁö¸¸
±×º¸´Ù´Â php.ini¿¡¼ ¼³Á¤µÈ ¿ë·® Á¦ÇÑÀÌ ¿ì¼±ÇÕ´Ï´Ù.
<?=phpinfo()?> ÇÔ¼ö¸¦ ÀÌ¿ëÇØ php¼³Á¤ Áß À§ÀÇ µÎ °ªÀ» È®ÀÎÇغ¸¸é ¼³Á¤µÈ ¾÷·ÎµåÅ©±â¸¦ ¾Ë ¼ö ÀÖ½À´Ï´Ù.
ÀÌ ¼³Á¤º¸´Ù Å« ÆÄÀÏÀ» ¾÷·ÎµåÇÏ°ÔµÇ¸é ¾÷·Îµå°¡ Á¦´ë·Î µÇÁö ¾Ê½À´Ï´Ù.
php.ini ÆÄÀÏÀÇ ´ÙÀ½ ºÎºÐÀ» ã¾Æ¼ ÀûÀýÇÏ°Ô º¯°æÇϼ¼¿ä.
; Maximum size of POST date that PHP will accept.
post_max_size = 10M
; Maximum allowed size for uploaded files.
upload_max_filesize = 10M
[°³¼±»çÇ× - 2011.12.01]
- ±âÁ¸ Ç÷¡½Ã Æû¿ä¼ÒµéÀÇ Å׵θ®³ª ±ÛÀÚ»öÀ» ¾à°£ º¯°æÇß½À´Ï´Ù.
- Border-color¸¦ Ç÷¡½Ã ¿ÜºÎ¿¡¼ º¯¼ö·Î ÁöÁ¤ÇÏ°Ô Çß½À´Ï´Ù.
- ¸ÖƼ¾÷·ÎµåÀÇ ÆÄÀÏ ¼ø¼ º¯°æ±â´ÉÀ» Ãß°¡Çß½À´Ï´Ù.
- ½Ì±Û ¾÷·ÎµåÀÇ °æ¿ì $_FILES["À̸§"]["name"][0] => $_FILES["À̸§"]["name"]À¸·Î º¯°æ.
[°³¼±»çÇ× - 2011.12.03]
"µ¿¿µ»óÀÇ ½ºÅ©¸³Æ®·Î ÀÎÇØ Flash Ç÷¹À̾îÀÇ ½ÇÇà ¼Óµµ°¡ ´À¸³´Ï´Ù.
°è¼Ó ½ÇÇàÇϸé ÄÄÇ»ÅÍ¿¡¼ ÀÀ´äÇÏÁö ¾ÊÀ»¼öµµ ÀÖ½À´Ï´Ù.
½ºÅ©¸³Æ®¸¦ Áß´ÜÇϽðڽÀ´Ï±î??"
- ´ë¿ë·® ¾÷·Îµå½Ã À§¿Í °°Àº ¸Þ¼¼Áö°¡ ³ª¿À´Â´ø°ÍÀ» °³¼±ÇÏ¿´½À´Ï´Ù.
- ´ë¿ë·® ÆÄÀÏÀÌ ¾ø¾î¼ 1.4GB±îÁö¸¸ Å×½ºÆ®ÇغýÀ´Ï´Ù.
[°³¼±»çÇ× - 2011.12.05]
- ½ÉÇþ÷·Îµå Ãß°¡
Áö¿ì³Ý¿¡¼ Å×½ºÆ® Çغ¸½Ã·Á¸é
http://www.ziwoo.net/fu ¸¦ Ŭ¸¯!
|
|
|
|
Áö³ª°¨(61.109.140.177)
2007-08-24 04:55:45
|
|
¿Í¿ì ÁÁ³×¿ä
ÆÄÀÏ ¼±ÅùöÆ°À» html ¿ä¼Ò·Î »¬¼ø¾øÀ»±î¿ä? À̹ÌÁö³ª buttonÅ×±×·Î...
¿ë·®Ç¥½Ãµµ html¿ä¼Ò·Î »©¾ßÇÒµí...
±×¸®°í ¸ÖƼ¾÷·Îµå½Ã Àüü ¿ë·®Á¦ÇÑ°ú ´õºÒ¾î °³°³º° Á¦Çѵµ ÇÊ¿äÇÒµí
firefox¿¡¼ µ¿ÀÛÇÏÁö ¾Ê½À´Ï´Ù. |
|
|
|
|
rain(222.112.1.90)
2007-08-24 10:08:25
|
|
Oho ~ |
|
|
|
|
½Å±â·ç´åÄÄ(124.59.113.7)
2007-09-05 11:59:00
|
|
ÁÁÀº Á¤º¸ °¨»çÇÕ´Ï´Ù^^; |
|
|
|
|
¹®ÀÇ(210.113.36.23)
2007-09-28 11:29:47
|
|
¹®ÀÇÁ» µå¸³´Ï´Ù
½ÇÁ¦ ¼¹ö¿¡ ¾÷·Îµå°¡ ÀÌ·ç¾îÁö´Â°ÍÀÎÁö¿ä
¾Æ´Ï¸é ¸»±×´ë·Î ±×³É µ¥¸ðÀÎÁö¿ä |
|
|
|
|
¹®ÀÇ(210.113.36.23)
2007-09-28 11:31:42
|
|
Áö¿ì´ÔÀÇ µ¥¸ð»çÀÌƮó·³ ¿¡·¯¾øÀÌ ½ÇÇàÀÌ µË´Ï´Ù¸¸
½ÇÁ¦ ¼¹ö¿¡´Â ¾÷·ÎµåµÈ ÆÄÀÏÀÌ »ý¼ºÀÌ ¾ÈµÇ´Âµ¥¿ä |
|
|
|
|
Áö¿ì(ziwoo)
2007-09-28 12:20:19
|
|
¾÷·Îµå µË´Ï´Ù.
µ¥¸ð¿¡¼ °á°ú¸¦ º¸¿©Áִ°͵µ ½ÇÁ¦ ¾ö·Îµå µÈ ÆÄÀÏÀÇ Á¤º¸ÀÔ´Ï´Ù.
´Ù¸¸ µ¥¸ðÀ̹ǷΠindex.php ¿¾îº¸½Ã¸é ȸ鿡 º¸¿©ÁØ ÈÄ
¸ðµÎ unlink() ·Î ÆÄÀÏÀ» Áö¿ì°í ÀÖ½À´Ï´Ù.
unlink() ¹Ù·Î ¾Õ¿¡¼ ÇØ´ç ÆÄÀÏÀ» ¿øÇϽô ´ë·Î ¿Å±â´øÁö º¹»çÇÏ½Ã¸é µÉ°Ì´Ï´Ù. |
|
|
|
|
º°¹ã(211.203.179.130)
2007-12-02 19:38:31
|
|
is_uploaded_file() ¾÷·Îµå µÈ°É È®ÀÏÇÒ ¼ö ÀÖ³ª¿ä? |
|
|
|
|
Áö¿ì(218.155.158.95)
2007-12-02 21:17:17
|
|
//º°¹ã
upload.php¿¡ ³Ö¾î¼ Å×½ºÆ®Çغ¸¼¼¿ä. µÉ°Ì´Ï´Ù. |
|
|
|
|
Á¤°æȯ(121.64.233.67)
2008-02-10 13:23:46
|
|
Á¤¸» °¨»çÇÕ´Ï´Ù. ã°íÀÖ´ø Áß¿¡ ¸¶Ä§ ¹ß°ßÇ߳׿ä.
Á¦·Îº¸µå¿¡¼µµ ¾µ ¼ö ÀÖÀ»±î¿ä? |
|
|
|
|
Áö°¡³ª´ÂÀÌ...(59.29.226.208)
2008-03-04 11:11:27
|
|
jsp ¿¡ Àû¿ëÀ» Çغ¸·Á°í ÇÏ´Ï... ´ë·« httpError() ¸¦ ¹ñ¾î³»°í ÀÖ½À´Ï´Ù.
httpError() ¾î´ÀºÎºÐ¿¡¼ È£ÃâÀ» Çϳª¿ä~? |
|
|
|
|
ÀÌÁöºô´õ(222.114.56.157)
2008-03-09 17:23:53
|
|
¾È³çÇϼ¼¿ä? Áö¿ì´Ô²²¼ ¸¸µå½Å Ç÷¡´õ ¾÷·Î´õ¸¦ ÀÌÁ¦ »ç¿ëÇغ¼ ÀÏÀÌ ÀÖ¾î¼ ÀÌ°ÍÀú°Í Å×½ºÆ®¸¦ Çغôµ¥¿ä.
»ùÇÿ¡¼ ÆÄÀϾ÷·Îµå1ÀÇ À̹ÌÁö ÆÄÀÏÀ̶ó°í µÇ¾îÀִµ¥ ÆÄÀϼ±Åýà ÆÄÀÏÀ̸§¿¡ *.*À» ÀÔ·ÂÇÏ¸é ¾Æ¹«ÆÄÀÏÀ̳ª ¾÷·Îµå°¡ °¡´ÉÇÕ´Ï´Ù..
À½ ±×·¡¼ ±×·±µ¥ ÀÚ½º·Î È®ÀåÀÚ¸¦ üũÇÏ´Â ±â´ÉÀÌ ÀÖ¾úÀ¸¸é ÁÁ°Ú³×¿ä^^;
½Ã°£ÀÌ µÇ½Å´Ù¸é ÀÌ¿ÕÀÌ¸é »ç¿ëÀÚÁöÁ¤ÆÄÀÏÀ» ÀÚ½º¿¡¼ ÁöÁ¤ÇÏ¿© ÁöÁ¤µÈ ÆÄÀϸ¸ ¿Ã¸±¼ö ÀÖµµ·Ï µÇ¸é ´õ¿í ÁÁÁö¿ä..Á¦°¡ Ç÷¡½¬ÂÊÀº Àß ¸ô¶ó¼¿ä; ¹Ù»Ú½Ã¸é ¾î¿¼ö ¾øÁö¸¸¿ä..¤¾¤¾
¾ÆÂü, ±×¸®°í ¸¶Áö¸·À¸·Î ¿äÁòÀº ±ÛÀÛ¼º½Ã ¿¡µðÅ͸¦ ¸¹ÀÌ »ç¿ëÇÏÀݾƿä? ±×·¡¼ ¸¸¾à ±â´ÉÃß°¡ÇÏ½Ç ¿©°ÇÀÌ µÇ½Å´Ù¸é ¸ÖƼ¾÷·Îµå¿¡¼ ÆÄÀϼ±Åýà ¹öÆ°À» ´·¯¼³ª ¾Æ´Ï¸é ÆÄÀϼ±Åýà ÀÚµ¿À¸·Î ¼¹ö¿¡ ÀúÀåÀÌµÇ°Ô Ã³¸®ÇÑÈÄ À̹ÌÁö ÆÄÀÏÀ» ´õºíŬ¸¯ÇßÀ»°æ¿ì ¿¡µðÅÍ¿¡ À̹ÌÁö »ðÀÔÀÌ µÈ´Ù¸é ¾î¶³±îÇؼ¿ä...±×·³ ¼ö°íÇϼ¼¿ä~^^ |
|
|
|
|
À̱âÈ«(121.172.46.225)
2008-04-11 21:49:23
|
|
¾È³çÇϼ¼¿ä.¿ÕÃʺ¸ÀÔ´Ï´Ù.
¿Â¶óÀÎÀ» ¿ÂÅë µÚÁ®¼ ÆÄÀϾ÷·Îµå ¼Ò½º¸¦ 찿´øÁß Á¤¸» ¸¾¿¡µå´Â ¼Ò½º¸¦ ¹ß°ßÇؼ
³Ñ³Ñ ÈïºÐÇÏ°í ÁÁ¾Æ Çߴµ¥ ¸·»ó ¼³Ä¡Çسõ°í º¸´Ï±î ÆÄÀÏÀÌ ¿Ã¶ó°¡´Â°ÍÀÌ ¾Èº¸¿©¼¿ä,
À§¿¡¼ ¸»¾¸ÇϽźκÐÁß ¾Æ·¡¿¡ ¸»¾¸ÇϽŠ³»¿ëÀÌ µµÀúÈ÷ ÀÌÇØ°¡ ¾È°©´Ï´Ù.
Á¦¹ß ¾î¶»°Ô ¿Å±â°í º¹»ç¸¦Çؼ ¾î¶»°Ô Ç϶ó´Â°ÇÁö ÀÌÇØ°¡ °¥¼ö ÀÖµµ·Ï ¾Ë·ÁÁֽøé
°í¸¿°Ú½À´Ï´Ù. ºÎŹµå¸³´Ï´Ù. ²À~~ ÇÊ¿äÇÑ°Å°í ÀÌÂÊ¿¡ ´ëÇؼ± ¹«³úÇÑÀ̶ó¼¿ä..
=============================================================================
¾÷·Îµå µË´Ï´Ù.
µ¥¸ð¿¡¼ °á°ú¸¦ º¸¿©Áִ°͵µ ½ÇÁ¦ ¾ö·Îµå µÈ ÆÄÀÏÀÇ Á¤º¸ÀÔ´Ï´Ù.
´Ù¸¸ µ¥¸ðÀ̹ǷΠindex.php ¿¾îº¸½Ã¸é ȸ鿡 º¸¿©ÁØ ÈÄ
¸ðµÎ unlink() ·Î ÆÄÀÏÀ» Áö¿ì°í ÀÖ½À´Ï´Ù.
unlink() ¹Ù·Î ¾Õ¿¡¼ ÇØ´ç ÆÄÀÏÀ» ¿øÇϽô ´ë·Î ¿Å±â´øÁö º¹»çÇÏ½Ã¸é µÉ°Ì´Ï´Ù.
===========================================================================
unlink() ¹Ù·Î ¾Õ¿¡¼ ÇØ´ç ÆÄÀÏÀ» ¿øÇϽô ´ë·Î ¿Å±â´øÁö º¹»çÇÏ½Ã¸é µÉ°Ì´Ï´Ù.
À̺κÐÀ» ¾î¶»°Ô Ç϶ó´Â°ÇÁö ²ÀÁ» Ãʺ¸µéÀÌ ¾Ë¼öÀÕµµ·Ï ¾Ë·ÁÁֽʽÿä.
ºÎŹ ºÎŹ µå¸³´Ï´Ù. |
|
|
|
|
Áö¿ì(218.155.158.158)
2008-04-12 03:07:13
|
|
for($i=0;$i<count($_FILES['smu01']['tmp_name']);$i++){
echo "\$_FILES['smu01']['name'][$i]: ".$_FILES['smu01']['name'][$i]."<br>";
echo "\$_FILES['smu01']['tmp_name'][$i]: ".$_FILES['smu01']['tmp_name'][$i]."<br>";
echo "\$_FILES['smu01']['size'][$i]: ".$_FILES['smu01']['size'][$i]."<br><br>";
@unlink($folder_name."/".$_FILES['smu01']['tmp_name'][$i]);
}
index.php 34 ¹ø ¶óÀÎÂë¿¡ º¸¸é À§¿Í °°Àº ºÎºÐÀÌ ¼¼°³ ÀÖ½À´Ï´Ù.
±× Áß Ã¹¹ø° ¾÷·Îµå Æû¿¡ ºÎ¿©Çß´ø À̸§ÀÎ "smu01" ºÎºÐ¸¸ °¡Áö°í ¼³¸íÇÏÀÚ¸é..
echo ¸í·ÉÀ¸·Î ¾Æ·¡ ¼¼°¡Áö Á¤º¸¸¦ º¸¿©ÁÖ°íÀÖ½À´Ï´Ù.
- name <= ¿À¸®Áö³¯ ÆÄÀϸí (ex. °Ü¿ï½£.JPG)
- tmp_name <= ¼¹ö¿¡ ¿Ã¶ó¿Â ½ÇÁ¦À̸§ (ex. smu01__swfupload__°Ü¿ï½£.JPG)
- size <= ÆÄÀÏÀÇ Å©±â
POST·Î ¾÷·ÎµåÇÏ´Â ÀϹÝÀûÀÎ °æ¿ì¿¡µµ ´ëºÎºÐ ¼¼°¡Áö Á¤º¸¸¸À¸·Î ó¸®Çϴµ¥¿ä..
´Ü¼øÈ÷ ±×³É ÆÄÀϸ¸ º¹»çÇÏ´Â °æ¿ìµµ ÀÖ½À´Ï´Ù¸¸ ÀÌ °æ¿ì Áߺ¹À̸§ ¹®Á¦°¡ °É¸®°ÚÁö¿ä..
Áö¿ìº¸µå °æ¿ì, DB¿¡´Â ¿ø·¡À̸§, °íÀ¯ÇÑÀ̸§, ÆÄÀÏÅ©±â µîÀ» ÀμƮÇÏ°í
ÆÄÀÏÀº ÀÏÁ¤ÇÑ »çÀÌÁî·Î ÁÙ¿©¼ °íÀ¯ÇÑÀ̸§À¸·Î ÀúÀåÇÕ´Ï´Ù.
for($i=0;$i<count($_FILES['smu01']['tmp_name']);$i++){
copy($_FILES['smu01']['tmp_name'][$i], $_FILES['smu01']['name'][$i]) ;
unlink($folder_name."/".$_FILES['smu01']['tmp_name'][$i]);
}
´Ü¼øÈ÷ º¹»ç¸¸ ÇÑ´Ù¸é À§Ã³·³
ù°ÁÙ¿¡¼ ÀÓ½ÃÀ̸§À» ¿ø·¡À̸§À¸·Î ¹Ù²ã¼ ÀúÀåÇÏ°í
µÑ°ÁÙ¿¡¼ unlink·Î Áö¿ì¸é µÇ°Ú³×¿ä..
GD°¡ ±ò·ÁÀÖ°í À̹ÌÁö Å©±â¸¦ ¹Ù²ã¾î¼ ÀúÀåÇÏ·Á¸é ¾Æ·¡ ¿¹Á¦¸¦ Âü°íÇϼ¼¿ä.
for($i=0;$i<count($_FILES['smu01']['tmp_name']);$i++){
$ext = strtolower(strrchr($_FILES['smu01']['name'][$i],"."));
$size = getimagesize($_FILES['smu01']['tmp_name'][$i]);
//°¡·Î¸¦ 715 ÀÌÇÏ·Î Á¦ÇÑÇÏ´Â ½æ³×ÀÏ
if($size[0]>715) {
$rewidth = 715;
$reheight = 715 * $size[1] / $size[0];
}else{
$rewidth = $size[0];
$reheight =$size[1];
}
$img_file_name = $_FILES['smu01']['tmp_name'][$i];
$dstimg = ImageCreatetruecolor($rewidth,$reheight);
if($ext==".jpg") $srcimg = ImageCreateFromJPEG($img_file_name);
if($ext==".gif") $srcimg = ImageCreateFromGIF($img_file_name);
if($ext==".png") $srcimg = ImageCreateFromPNG($img_file_name);
Imagecopyresampled($dstimg, $srcimg,0,0,0,0,$rewidth,$reheight,ImageSX($srcimg),ImageSY($srcimg));
ImageJPEG($dstimg, $ABS_DIR."/photos/".$_GET["idx"]."/".$_FILES['smu01']['name'][$i],90);
@unlink($_FILES['smu01']['tmp_name'][$i]);
}
copy ¸í·ÉÀ̳ª GD »ç¿ë¹ýµîÀº °ü·Ã ÀڷḦ ã¾Æº¸½Ã°í¿ä..
Ȥ½Ã³ª ¸ð¸£½Ç±îÇؼ..
@´Â ÇØ´ç¶óÀο¡ ¿¡·¯¸¦ ¹«½ÃÇ϶õ ¶æÀÔ´Ï´Ù.
|
|
|
|
|
À̱âÈ«(121.172.46.225)
2008-04-12 15:06:54
|
|
Á¤¸» ÀÌ·¸°Ô±îÁö ºü¸£°í Á¤È®ÇÑ ´äº¯À» ±â´ëÇÏÁö ¾È¾Ò´Âµ¥ ÀÌ·¸°Ô±îÁö ´äÇØÁֽôٴÏ..
³Ê¹«³Ê¹« °¨»çÇÕ´Ï´Ù. Á¤¸» Ä£ÀýÇϽŠ¿î¿µÀÚ´Ô °í¸¿½À´Ï´Ù. ´äº¯À» Åä´ë·Î ÀÌÁ¦ »ç¿ëÇÏ°íÀú
Çß´ø ¼Ò½º¸¦ °¡Áö°í »ç¿ëÇÒ¼ö ÀÖ°Ú³»¿ä.. ´Ù½ÃÇѹø Áø½ÉÀ¸·Î °¨»çµå¸³´Ï´Ù.
Ç×»ó°Ç°ÇÏ½Ã°í ´Ã.. ÇູÇϽʽÿä. |
|
|
|
|
Áú¹®ÀÎ(220.124.222.137)
2008-04-22 18:20:12
|
|
¾È³çÇϼ¼¿ä.Áú¹®ÀÌ ÀÖ¾î¼ ¹®Àǵ帳´Ï´Ù.
¼Ò½º¸¦ Å×½ºÆ® ÇÏ´øÁß Á¾Á¾ ioError °¡ ¹ß»ýÇÏ¿©¼¿ä.
¿©±âÀú±â ã¾Òº¸¾Ò´Âµ¥ µüÈ÷ ãÁö¸¦ ¸øÇؼ.....
Ȥ½Ã³ª ¾î¶² °æ¿ìÀÇ Àú·± ¿¡·¯°¡ ³ª´ÂÁö ¾Ë¼ö ÀÖÀ»±î Çؼ ¹®ÀÇ±Û ³²±é´Ï´Ù.
±×·³ ÁÁÀº ÇÏ·ç µÇ¼¼¿ä ^ ^ |
|
|
|
|
°¡À»ÀÌ(210.110.163.22)
2008-04-29 16:20:00
|
|
¿Ã·ÁÁֽŠÀÚ·á´Â Á¤¸» Àß ¾²°í ÀÖ½À´Ï´Ù. °¨»çÇÕ´Ï´Ù. ¹®Á¦°¡ Çϳª À־ä. '(½Ì±ÛÄõÅ×À̼Ç"ÀÌ ÀÖ´Â ÆÄÀϸíÀº ¾÷·Îµå ÀÚü°¡ ¿¡·¯³ª´Â±º¿ä. ÀÌ ºÎºÐÀº ¾î¶»°Ô 󸮸¦ ÇØ¾ß ÇÒ·±Áö...upload ÂÊÀ¸·Î ÆÄÀÏ ÀÚü¸¦ ³Ñ±âÁö ¸øÇÕ´Ï´Ù. Ç÷¡½Ã ÀÚü¿¡¼ ¿¡·¯°¡ ¹ß»ýÇÏ´Â µí Çؼ¿ä. |
|
|
|
|
Áö¿ì(220.127.219.237)
2008-04-30 10:59:16
|
|
//°¡À»ÀÌ
±×¸²ÆÄÀÏ À̸§À» [Å×'½ºÆ®.jpg]·Î ¸®³×ÀÓÇؼ ¾÷·ÎµåÇغýÀ´Ï´Ù.
ÆÄÀÏÀº À߿ö󰩴ϴÙ. ´Ù¸¸ º¸¿©ÁÖ´Â ºÎºÐ¿¡¼ µû¿ÈÇ¥ °£¼·À¸·Î ÆÄÀÏ °æ·Î°¡ ¿Ö°îµÇ´Â ¹®Á¦¸¸ Àֳ׿ä. ÀÌ ºÎºÐÀº php ÄÚµù½Ã °¨¾ÈÇÏ¿© ÇÁ·Î±×·¥ÇÑ´Ù¸é ¹®Á¦ ¾øÀ»°ÍÀ¸·Î º¸ÀÔ´Ï´Ù. |
|
|
|
|
Áú¹®ÇØ¿ä(211.205.78.152)
2008-05-13 01:04:12
|
|
if(is_dir($folder_name)) {
$dir_obj=opendir($folder_name);
while(($file_str = readdir($dir_obj))!==false){
if($file_str!="." && $file_str!=".."){
$split_str = explode("__swfupload__",$file_str);
$_FILES[$split_str[0]]['tmp_name'][] = $file_str;
$_FILES[$split_str[0]]['name'][] = $split_str[1];
$_FILES[$split_str[0]]['size'][] = filesize($folder_name."/".$file_str);
}
}
closedir($dir_obj);
}
À̺κÐÀÌ ÆÄÀÏÀ» Àоî¿À´Â ºÎºÐ°°Àºµ¥ Àú´Â
ÆÄÀϸíÀ» md5À» »ç¿ëÇؼ º¯ÇüÇؼ ÀúÀåÇؼ »ç¿ëÇÏ·Á°íÇϴµ¥
$split_str = explode("__swfupload__",$file_str);
À̺κп¡¼
¹®Á¦°¡ ¹ß»ýÇؼ¿ä
À§¿¡ whileÀ» ¾È»ç¿ëÇÏ°í php¿¡¼Ã³·³ ±×³É
$_FILES['userfile']['tmp_name'][$i]
ÀÌ·¸°ÔÇؼ ¸øÀо³ª¿ä? |
|
|
|
|
Áö¿ì(59.7.1.149)
2008-05-13 12:12:38
|
|
//Áú¹®ÇØ¿ä
$_FILES['userfile']['tmp_name'][$i] ó·³ »ç¿ëÇÏ·Á¸é upload.php ÆÄÀÏ ¾È¿¡¼
±×·¸°Ô ó¸®Çؾ߸¸ Çϴµ¥¿ä..
µ¶¸³ÀûÀ¸·Î ½ÇÇàµÇÁö ¸øÇÏ°í Ç÷¡½Ã¾È¿¡°Ô ÀÇÁ¸ÇÏ¿© ½ÇÇàµÇ´Â upload.php ¾È¿¡¼ ±×·¸°Ô ÇÏ´Â°Ô Àǹ̰¡ ÀÖÀ»±î ½Í³×¿ä..
ù°·Î, $_FILES['userfile']['tmp_name'][$i] ó·³ ±¸ÇØÁø µ¥ÀÌÅ͸¦ ±×¾È¿¡¼ ¹Ù·Î º¹»çÇÏ´øÁö DB¿¡ ³ÖµçÁö.. ¾î¶»°Ôµç 󸮸¦ ÇØ¾ß Çϴµ¥¿ä..
(¿¹¸¦ µé¸é idx °ªÀ» °°ÀÌ ³Ñ°Ü¼ ÇØ´ç À̸§À¸·Î ÀúÀåÇϵçÁö ÇÏ´Â..)
°¡´ÉÀº ÇÏ°ÚÁö¸¸ Á» º¹ÀâÇØÁöÁÒ.. ÆíÁýÀÌ ¾Æ´Ñ ±Û¾²±â »óŶó¸é idxµµ »ý¼ºµÇ±â Àü ÀÏÅ×°í..
µé°·Î ¸ÖƼ ¾÷·Îµå¶ó´øÁö.. ÇÑÆäÀÌÁö¿¡ µÎ°³ ÀÌ»óÀÇ ¾÷·Îµå ÆûÀÌ ÀÖ´Â °æ¿ì..
¸¶Âù°¡Áö·Î º¹ÀâÇØÁú°Ì´Ï´Ù.
¾Ë¾Æ¼ ÆÇ´ÜÇϼż ÄÚµùÇÏ½Ã¸é µÉ°Í °°°í¿ä..
$split_str = explode("__swfupload__",$file_str);
À̺κп¡¼ ¹®Á¦°¡ ¹ß»ýÇÒ ÀÏÀº ¾ø´Âµí º¸ÀÔ´Ï´Ù.
md5() Àû¿ëÀ» ¸¶Áö¸·¿¡ ÇÏ½Ã¸é µÉÅ״ϱî¿ä..
|
|
|
|
|
Áú¹®ÇØ¿ä(211.178.234.103)
2008-05-13 23:00:27
|
|
Áö¿ì´Ô ´äº¯ °¨»çÇÕ´Ï´Ù.
Ç÷¡½Ã ÆÄÀϾ÷·Îµå °¨»çÈ÷ »ç¿ëÇÏ°Ú½À´Ï´Ù ^^
ÁÁÀºÇÏ·ç µÇ¼¼¿ä. |
|
|
|
|
¤£¤£(143.248.130.79)
2008-05-26 16:25:43
|
|
°¨»çÇÕ´Ï´Ù. ¸¹Àº µµ¿òÀÌ µÇ¾ú½À´Ï´Ù. ^_^; |
|
|
|
|
±Ã±ÝÇØ¿ä~(143.248.130.79)
2008-05-27 14:13:50
|
|
Áö¿ì´Ô, ´äº¯ °¨»çÇÕ´Ï´Ù.
Àúµµ ¿©·¯¹æ¸éÀ¸·Î ¿øÀÎÀ» ¾Ë¾ÆºÃ´Âµ¥... displayÅÂ±× ¹®Á¦ÀÎ °Í °°½À´Ï´Ù.
visibleű׷ΠhiddenÇßÀ» °æ¿ì¿¡´Â Ç÷¡½Ã°¡ ¸®·Îµå µÇÁö ¾Ê¾Ò´Âµ¥... display¿¡¼´Â ¸®·Îµå µÇ´õ±º¿ä...
FF¿¡¼ ºñ½ÁÇÑ ¹®Á¦¸¦ °æÇèÇÑ ºÐµéÀÌ ÀÖ´Â °Í °°½À´Ï´Ù.
´Ù¸¥ °÷¿¡ Áú¹®ÇÑ ³»¿ëÀ» ÷ºÎÇß½À´Ï´Ù.
(Ȥ Çûý»ç¸ð ȸ¿øÀÌ ¾Æ´Ï½Ã¶ó¸é ¾Æ¸¶ °¡ÀÔÇÏ¼Å¾ß ±ÛÀ» º¼ ¼ö ÀÖÀ» °Í °°³×¿ä ¤Ì¤Ì;)
http://cafe.naver.com/flashdev/29350 |
|
|
|
|
Áö´Ï(58.150.173.195)
2008-06-30 13:43:27
|
|
¿À·ù°¡ ¹ß»ýÇÕ´Ï´Ù.
windows xp¿¡¼ ¿ë·®À» Å©°ÔÇÏ°í ¾÷·Îµå ÇÏ´Ï...
½ºÅ©¸³Æ®¸¦ °è¼Ó ½ÇÇàÇϸé Ç÷¡½¬ Ç÷¹À̾ ´À·ÁÁø´Ù´Â °æ°í¹®ÀÌ °è¼Ó ¶ß³×¿ä
|
|
|
|
|
Áö¿ì(218.155.158.158)
2008-06-30 20:43:57
|
|
//Áö´Ï
´ë¿ë·®¿¡ µû¸¥ Ç÷¡½Ã °æ°í´Â Ç÷¡½Ã ÀÚüÀûÀÎ ¹®Á¦¶ó ¾îÂî ÇÒ ¼ö°¡ ¾ø½À´Ï´Ù.
Ç÷¡½Ã Á¦ÀÛ»çÀÎ ¸ÅÅ©·Î¹Ìµð¾î¿¡ ¹®ÀÇÇÏ´Â ¼ö ¹Û¿¡´Â..
´ë¿ë·®À϶© ´Ù¸¥ ¹æ¹ýÀ» °±¸ÇÏ½Ã´Â°Ô ÁÁ°Ú½À´Ï´Ù. |
|
|
|
|
¾î·Á¿ö¿ä(58.124.83.206)
2008-07-16 05:33:41
|
|
¾Ë·ÁÁֽŴë·Î Çؼ ½ÇÇàÇϸé.... °á°ú¿¡ POST°ª¸¸ ³ª¿À°í FILE·Î ½ÃÀÛÇÏ´Â ÆÄÀÏÁ¤º¸3°¡Áö°¡ Ãâ·ÂÀÌ ¾ÈµÇ³×¿ä... ÀÌ°Ô Ãâ·ÂÀÌ ¾ÈµÈ°Å¶ó¸é ¹«½¼¹®Á¦Àΰ¡¿ä??... ¿À·¡ ºÙÀâ°í ÀÖÁö¸¸.. ´äÀÌ ¾È³ª¿À³×¿ä.... »ó´ë°æ·Î·Îµµ Çغ¸¾Ò°í, Àý´ë°æ·Îµµ Çغ¸¾Ò°í ÆÄÀÏ Æ۹̼ǵµ È®ÀÎÇß½À´Ï´Ù |
|
|
|
|
gmrgus(211.35.72.130)
2008-08-14 16:28:33
|
|
ÀÌ°Å..
2Mb ÀÌ»óÀº ¾÷·Îµå°¡ ¾ÈµÇ³×¿ä. °æ°íâµµ ¾È¶ß°í..
Ȥ½Ã ¾îµðºÎºÐÀ» °Çµå·ÁÁà¾ß ÇÏ´ÂÁö ¾Ë¼öÀÖÀ»±î¿ä?? |
|
|
|
|
gmrgus(211.35.72.130)
2008-08-14 16:30:20
|
|
µ¥¸ðÆäÀÌÁö¿¡´Â Àß ¾÷·Îµå°¡ µÇ´Â±º¿ä.;;; |
|
|
|
|
gmrgus(211.35.72.130)
2008-08-14 16:43:35
|
|
index.php , swf_upload.js, upload.php ÀÇ ¹®¼ÀÎÄÚµùÇü½ÄÀ» UTF-8 ·Î ÇÏ°í ½ÇÇàÀ» ÇÏ¸é ±×·¸°Ô µÇ´Â°Å °°½À´Ï´Ù. |
|
|
|
|
shaejar(211.63.209.169)
2008-08-20 11:43:15
|
|
Àúµµ ÀºÐ°ú °°ÀºÇö»ó ÀÔ´Ï´Ù. 2MbÀÌ»óÀº ¾÷·Îµå°¡ ¾ÈµÇ³×¿ä. ¿¡·¯°¡ ³ª´Â°Íµµ ¾Æ´Ï°í
ÀºÐÀº ÇØ°áÀ» ÇϽŰÇÁö¿ä... |
|
|
|
|
shaejar(211.63.209.169)
2008-08-20 16:40:19
|
|
Á˼ÛÇÕ´Ï´Ù. Àß ¾Ë¾Æº¸Áöµµ ¾Ê°í À§ÀÇ ±ÛÀ» ³²°å³×¿ä.
php.iniÀÇ upload_max_filesize´Â È®Àεµ ¾ÈÇغ¸°í¼ ÀÌ·±±ÛÀ» ³²°Ü
³Ê¹« Á˼ÛÇÕ´Ï´Ù. |
|
|
|
|
È«±æµ¿(125.188.29.53)
2008-09-03 15:15:00
|
|
¸ÖƼ¾÷·Îµå¿¡ btnUp, btnDown Ãß°¡ ÈÄ ÆÄÀϼø¼¸¦ º¯°æÇÏ°í ½ÍÀºµ¥ ¾×¼Ç À̺¥Æ®°¡ ¸ÔÈ÷Áú ¾Ê³×¿ä. ¾î¶²½ÄÀ¸·Î Á¢±ÙÇØ¾ß ÇÒÁö¿ä. Ç÷¡½Ã Ãʺ¸¶ó ¤Ð.¤Ð |
|
|
|
|
Ãʵθ®(210.94.41.89)
2008-09-30 13:26:38
|
|
¾Æ·¡ º°Ç¥ÇÑ °æ°íâÀÌ ¾øÀ¸¸é Á¦´ë·Î ¾È³Ñ¾î°¡°í µµÁß¿¡ ³¡¾îÁö´Â Çö»óÀÌ ¹ßÇàÇϳ׿ä.\
¿¹¸¦ µé¸é 40°³¸¦ ³Ñ±â´Âµ¥ 3~4°³ ¹Û¿¡ ¾È ¿Ã¶ó°¡´Â Çö»óÀÌ ÀÚÁÖ »ý±è´Ï´Ù.
Àú¶û °°Àº ¿¡·¯ °íÄ¡½ÅºÐ °è½Å°¡¿ä?
function callSwfUpload(){ //Ç÷¡½¬ ÆÄÀÏ ¸®½ºÆ®¿¡ Ãß°¡µÈ ÆÄÀÏÀ» Àü¼Û
arrMovie = new Array()
var arr_num = 0;
var objectTags = document.getElementsByTagName('object');
var movie;
for (i = 0; i < objectTags.length; i++ ) {
if(objectTags[i].getAttribute("method")=="single_upload" || objectTags[i].getAttribute("method")=="multi_upload"){
if(document.getElementsByName(objectTags[i].getAttribute("id"))[0]) {
movie = document.getElementsByName(objectTags[i].getAttribute("id"))[0];
}else{
movie = document.getElementById(objectTags[i].getAttribute("id"));
}
if(movie.GetVariable("totalSize")>0){
arrMovie[arr_num] = movie;
arr_num++;
}
}
}
if(arrMovie.length>0){
if(arrMovie[0].getAttribute("method")=="single_upload" || arrMovie[0].parentNode.getAttribute("method")=="single_upload") arrMovie[0].height = 70;
if(arrMovie[0].getAttribute("method")=="multi_upload" || arrMovie[0].parentNode.getAttribute("method")=="multi_upload") arrMovie[0].height = parseInt(20*arrMovie[0].GetVariable("listRows")+25+45,10);
arrMovie[0].SetVariable( "startUpload", "" );
arr_mov = 0;
alert("¼±ÅÃÇϽŠÆÄÀÏÀ» µî·ÏÇÕ´Ï´Ù."); //¡Ú¡Ú
document.forms['action_form'].submit();
}else{
document.forms['action_form'].submit();
}
} |
|
|
|
|
¸ÆŲÅä½Ã(210.117.57.162)
2008-10-17 06:50:29
|
|
¾È³çÇϼ¼¿ä.. Áö¿ì´Ô ÁÁÀº ¼Ò½º °ø°³ÇØ Áּż ³Ê¹« °í¸¿½À´Ï´Ù.
¿Ã·ÁÁֽŠ¼Ò½º¸¦ Á¤¸» ±ÍÇÏ°Ô »ç¿ëÇÏ°í ÀÖ½À´Ï´Ù.
±×·±µ¥ À©µµ¿ì¿¡¼´Â IE , FF , SAFARI ¸ðµÎ ¹®Á¦¾øÀÌ ÀÛµ¿ÇÏ°í ÀÖÀ¸³ª ¸ÆŲÅä½Ã¿¡¼´Â FF¿Í SAFARI ¸ðµÎ ¹®Á¦°¡ ÀÖ½À´Ï´Ù.
¸ÆŲÅä½Ã¿¡¼ ÆÄÀÏÀ» ¾÷·ÎµåÇϸé ÆÄÀÏ 1°³¸¸ ¿Ã¶ó°¡°í Áß´ÜÀÌ µË´Ï´Ù... ¿©·¯°³ÀÇ ÆÄÀÏÀ» µ¿½Ã¿¡ ¾÷·ÎµåÇÒ¶§ ù¹ø° ÆÄÀϸ¸ ¾÷·ÎµåµÇ°í´Â ÇÁ·Î±×·¹½º¹Ù°¡ ¸ÙÃä´Ï´Ù.
µð¹ö±ë³¡¿¡ ¸ÆŲÅä½Ã¿¡¼´Â ÆÄÀϾ÷·Îµå ÈÄ swfUploadComplete() °¡ È£ÃâµÇÁö ¾Ê´Â´Ù´Â °Í ±îÁö´Â ¾Ë¾Æ³ÂÀ¸³ª Á¦°¡ ¾×¼Ç½ºÅ©¸³Æ®¸¦ ´Ù·ê ÁÙµµ ¸ð¸£°í Ç÷¡½¬ÇÁ·Î±×·¥µµ ¾ø¾î¼ ÀÌ·¸°Ô Á¶¾ðÀ» ±¸ÇÕ´Ï´Ù.
¸ÆŲÅä½Ã¿¡¼´Â ¿Ö swfUploadComplete() °¡ ½ÇÇàµÇÁö ¾Ê´Â °ÍÀϱî¿ä..
¿©ÇÏÆ° 10°³ÀÇ ÆÄÀÏÀ» ¾÷·ÎµåÇÒ °æ¿ì Á¤È®È÷ 1°³¸¸ ¿Ã¶ó°¡°í´Â ¸ØÃç¹ö¸³´Ï´Ù.
À©µµ¿ì¿ë safari ¿Í ff¿¡¼´Â ¾ÆÁÖ Àß µÇ´Âµ¥ ¸ÆŲÅä½Ã¿¡¼´Â ¾ÈµÇ´Ï ¾Ë±æÀÌ ¾ø¾î¼¿ä..
±×·³.. ¼ö°íÇϼ¼¿ä. |
|
|
|
|
¹èÈë(59.22.141.139)
2008-10-23 14:00:05
|
|
Áö¿ì ´ÔÀÌ ÁÁÀº ¾÷·Î´õ¸¦ ¸¸µé¾îÁֽŠ´öÅÿ¡ Àß »ç¿ëÇÏ°í ÀÖ¾ú½À´Ï´Ù.
¼Ò½ºµµ °°ÀÌ ÀÖ¾î¼ Á¶±Ý ¼öÁ¤µµ Çß±¸¿ä.
±×·±µ¥. ÃÖ±Ù¿¡
Ç÷¡½Ã Ç÷¹À̾î¹öÁ¯ 10ÀÌ ¹èÆ÷ µÇ¸é¼ Ŭ¶óÀ̾ðÆ®¿¡ ¹öÁ¯ ¿¡·¯°¡ ¹ß»ýÇÏ°í ÀÖ½À´Ï´Ù.
Ȥ½Ã ÇØ°á ¹æ¹ýÀÌ ÀÖÀ»±î¿ä???
¾Æ·¡´Â ºñ½ÁÇÑ ³»¿ë¿¡ ´ëÇÑ °Ô½Ã±ÛÀ̳׿ä.
http://blog.arzz.com/378
µµ¿ò ºÎŹµå¸®°Ú½À´Ï´Ù.
|
|
|
|
|
Áö¿ì(218.155.158.29)
2008-10-23 21:21:18
|
|
¾ÆÁ÷ Ç÷¹½ÃÇ÷¹À̾î10À» Á¢ÇÏÁö ¸øÇߴµ¥..
Á¤º¸ °¨»çÇÕ´Ï´Ù.
Á¶¸¸°£ ¼³Ä¡Çؼ Å×½ºÆ® Çغ¸°í..
°¡´ÉÇÑ°ÅÁö.. °¡ºÎ¸¦ °áÁ¤Çؾ߰ڳ׿ä.
´Ù½ÃÇѹø °¨»çµå¸³´Ï´Ù. |
|
|
|
|
½Å¹Î¼ö(118.39.114.53)
2008-11-03 02:43:48
|
|
ÈÞ¿ì ~~ ¹ú½á 2ÁÖ° °è¼Ó Å×½ºÆ®¸¦ ÇÏ°í Àֳ׿ä.
óÀ½ ´ÔÀÌ °ø°³ÇϽŠ¸ÖƼ¾÷·Î´õ¸¦ º¸°í ¾ÆÁÖ ÈïºÐÇßÀ¸¸ç, °¨ÅºÇϱâ À̸¦µ¥°¡ ¾ø¾ú´Âµ¥¿ä.
Áö±ÝÀº ½ºÀ» ÁöÃÄ°©´Ï´Ù.
Á¤¸» ÀÌ»óÇϳ׿ä. ¿©±â ÀÖ´Â ¼Ò½º¸¦ ´Ù¿î·Îµå ¹Þ¾Æ¼ ¼³Ä¡ÇØ º»°Ô ¹ú½á 12¹øÀ̳ª µË´Ï´Ù.
Ȥ½Ã³ª ³»°¡ ¹«¾ùÀ» À߸ø ¹Þ¾Æ¼ ±×·±°ÇÁö .. Çϱ¸¿ä.
ÇöÀç fu.zipÀ» À©µµxp(Á¦ ÄÄÅÍ)·Î ¹Þ¾Æ¼ Å×½ºÆ®¼¹ö(freebsd, APM ¼³Ä¡µÊ/¸Ó ¸®´ª½º¶û ȯ°æÀº °°´Ù°í ºÁµµ µË´Ï´Ù.)·Î ftp·Î ¾÷·ÎµåÇؼ Å×½ºÆ®¼¹ö¿¡¼ unzip fu.zip À¸·Î Ç®¾ú±¸¿ä.
±×·¸°Ô Çؼ ¾Æ¹«°Íµµ ¼Õ´ëÁö ¾Ê±¸¿ä.
(¾Æ, ¹°·Ð files Æú´õÀÇ ±ÇÇÑÀº 777·Î ¹Ù²Ù¾î ³õ¾Ò½À´Ï´Ù. Áï, chmod -R 777 files·Î .. )
ÀÏ´Ü ¹Ù·Î Å×½ºÆ®ÇØ º¼ ½É»êÀ¸·Î ÇØ´ç urlÀ» ºê¶ó¿ìÀú·Î ¿¾ú½À´Ï´Ù.
À̶§ ´ç¿¬È÷ ´ÔÀÇ ÆÄÀϾ÷·Îµå ¿¹Á¦ ÆäÀÌÁö ¿¬°Í°ú °°ÀÌ ¿¸®±¸¿ä.
°Å±â¼ Á¦°¡ Å×½ºÆ®¸¦ ¹Ù·Î ÇØ º¸¾Ò½À´Ï´Ù.
´ÙÁß ¾÷·Îµå¸¦ »ç¿ëÇØ º¼ ¿¹Á¤À̶ó ¹Ù·Î ÆÄÀÏ 3°³¸¦ ¼±ÅÃÇÏ´Ï ÃÑ ¿ë·®ÀÌ 7M Á¤µµ µÇ´õ±º¿ä.
±×·± ÈÄ ÀÛ¼º¿Ï·á¸¦ Ŭ¸¯ÇÏ´Ï ÇÏ´Ü¿¡ ÇÁ·Î±×·¡½º¹Ù°¡ Ç¥½ÃµÇ°í ¾÷·Îµå µÇ´Â ¸ð¾çÀÌ ³ª¿É´Ï´Ù.
±×·±µ¥, ±× °úÁ¤ÀÌ ³¡³ ´ÙÀ½¿¡´Â ...
-----------------------------------------------------
$_POST['subject'] = "Ç÷¡½Ã8À» ÀÌ¿ëÇÑ ¾÷·Îµå Å×½ºÆ®"
$_POST['name'] = "Å×½ºÅÍ"
[µ¹¾Æ°¡±â]
-----------------------------------------------------
À§¿Í °°À̸¸ ³ª¿É´Ï´Ù.
±×·±µ¥, ´ÔÀÇ ¿¹Á¦ÆäÀÌÁö¿¡¼´Â ¾÷·Îµå °úÁ¤ÀÌ ³¡³ª¸é ...
-----------------------------------------------------
$_POST['subject'] = "Ç÷¡½Ã8À» ÀÌ¿ëÇÑ ¾÷·Îµå Å×½ºÆ®"
$_POST['name'] = "Å×½ºÅÍ"
$_FILES['smu03']['name'][0]: Baby Love - Supremes.mp3
$_FILES['smu03']['tmp_name'][0]: smu03__swfupload__Baby Love - Supremes.mp3
$_FILES['smu03']['size'][0]: 2526462
$_FILES['smu03']['name'][1]: Baby It\'s You - Smith.mp3
$_FILES['smu03']['tmp_name'][1]: smu03__swfupload__Baby It\'s You - Smith.mp3
$_FILES['smu03']['size'][1]: 3180151
$_FILES['smu03']['name'][2]: Baby I\'m Yours - Barbara Lewis.mp3
$_FILES['smu03']['tmp_name'][2]: smu03__swfupload__Baby I\'m Yours - Barbara Lewis.mp3
$_FILES['smu03']['size'][2]: 2360542
[µ¹¾Æ°¡±â]
----------------------------------------------------
À§¿Í °°ÀÌ ³ª¿À´õ±º¿ä.
ÇöÀç ³»¿ë(¿ø ¼Ò½º)Àº ¾Æ¹«°Íµµ ¼öÁ¤ÇÏÁö ¾ÊÀº ¿ø·¡ »óű¸¿ä.
files Æú´õ¿Í ±× ¾ÈÀÇ Æú´õ Çã°¡±ÇÀº ¸ðµÎ 777·Î µÇ´õ±º¿ä.
±×¸®°í, ±× ¾È Æú´õ¿¡´Â ¾î¶² ÆÄÀϵµ ¾ø½À´Ï´Ù.
±×¸®°í, fu.zipÀ» ¿¾îº» ÆÄÀÏ¿¡¼ index.php¿¡ 35,41,47,49 ¶õÀÇ
unlink ¹× @rmdir µéÀº ¿ø ¼Ò½ºÀÚü¿¡ ÁÖ¼®Ã³¸®µÇ¾î Àֳ׿ä.
ÇÏ¿©°£ fu.zipÀ» ´Ù¿î¹Þ¾Æ ±×´ë·Î ¾ÐÃàÇ®°í ¹Ù·Î Å×½ºÆ®ÇÑ »óÅÂÀä.
Á¦°¡ º¼¶§´Â flash ±îÁö¸¸ Á¦´ë·Î µ¿ÀÛÀÌ µÇ±¸¿ä, ±× ´ÙÀ½(upload.php)À¸·Î ³Ñ¾î°¡¾ßÇϴµ¥
¾È ³Ñ¾î°¡´Â °Í °°¾Æ¿ä.
À§¿¡ ÀÛ¼ºµÈ Áú¹®°ú ´äº¯À» ÂùÂùÈ÷ ÁÖ¿í µÑ·¯º¸¸é¼ °è¼ÓÀûÀ¸·Î Å×½ºÆ®ÇØ º¸¾ÒÀ¸³ª,
ÇöÀç µµÀúÈ÷ ¾î´À ºÎºÐÀ» ¼öÁ¤ÇØ¾ß ÇÒÁö¸¦ ¾Ë¼ö°¡ ¾ø¾î¼ Áú¹®À» µå¸®´Ï
¹Ù»Ú½Ã°ÚÁö¸¸ ¸ðÂÉ·Ï ´äº¯À» ²À Á» ºÎŹµå¸®°Ú½À´Ï´Ù. |
|
|
|
|
Áú¹®ÇØ¿ä(221.138.85.114)
2008-11-04 00:53:40
|
|
½Å¹Î¼ö //
index.php ÆÄÀÏÀÇ..
// ÀÌÀü ¾²·¹±â ÆÄÀÏ »èÁ¦
$folder_name = "./files/".session_id();
if(is_dir($folder_name)) {
$dir_obj=opendir($folder_name);
while(($file_str = readdir($dir_obj))!==false){
if($file_str!="." && $file_str!=".."){
@unlink($folder_name."/".$file_str);
}
}
closedir($dir_obj);
rmdir($folder_name);
}
À̺κÐÀ» Çѹø ÁÖ¼®Ã³¸® Çغ¸¼¼¿ä.. |
|
|
|
|
½Å¹Î¼ö(118.39.114.53)
2008-11-04 15:25:17
|
|
Áú¹®ÇØ¿ä//
´äº¯¿¡ °¨»çµå¸³´Ï´Ù. ±×·±µ¥¿ä.
±× ³»¿ëÀº ÀÌ¹Ì ÁÖ¼®Ã³¸® Çؼ Å×½ºÆ® ÇØ º¸¾Ò½À´Ï´Ù.
¶Ç, Ȥ½Ã³ª Çؼ upload.php°¡ Áß°£¿¡ µ¿ÀÛÀ» Çϱâ´Â ÇÏ´ÂÁö ±Ã±ÝÇؼ ..
upload.php ¿¡´Ù ..
echo "upload.php°¡ µ¿À۵˴ϴÙ.<br />";
echo "$_FILES['Filedata']['tmp_name']<br />";
ÀÌ·± ³»¿ëµµ ³Ö¾î¼ debug(?)µµ ÇØ º¸¾Ò´Âµ¥,, ÀÏ´Ü Ç¥½Ãµµ µÇÁö ¾Ê±¸¿ä.
±×¸®°í, ÇØ´ç Æú´õ(files, chmod 777 µÇ¾î ÀÕ´Â »óÅÂ)³»¿¡ ¾Æ¹«°Íµµ »ý¼ºµÇÁö ¾Ê½À´Ï´Ù.
¼º°øÇϽŠ´ÔµéÀº ¾î¶»°Ô ¼º°øµéÀ» Çϼ̴ÂÁö.. µµ¿òÁÖ½Ã¸é °¨»ç !!
ÀÏ´Ü Àú´Â ¿©±â ÀÖ´Â fu.zipÀ» ±×´ë·Î °¡Á®¿Í¼¿ä.
ÇØ´ç Å×½ºÆ®¼¹ö¿¡ ¾÷·ÎµåÇÑÈÄ .. ½©·Î Á¢¼ÓÇؼ ..
ÇØ´ç Å×½ºÆ®Æú´õ¿¡¼ unzip fu.zip À» Çß±¸¿ä.
Å×½ºÆ®ÇÏ¸é¼ À§¿¡¼ Á¦½ÃÇÑ index.php ÆÄÀÏÀÇ..
// ÀÌÀü ¾²·¹±â ÆÄÀÏ »èÁ¦
/*
$folder_name = "./files/".session_id();
if(is_dir($folder_name)) {
$dir_obj=opendir($folder_name);
while(($file_str = readdir($dir_obj))!==false){
if($file_str!="." && $file_str!=".."){
@unlink($folder_name."/".$file_str);
}
}
closedir($dir_obj);
rmdir($folder_name);
}
*/
ÀÌ ºÎºÐ¸¸ ÁÖ¼®Ã³¸®ÇÑ »óÅÂÀÔ´Ï´Ù. ´Ù¸¥ °Ç Çϳªµµ º¯°æÇϰųª °Çµå¸®Áö ¾Ê¾Ò½À´Ï´Ù.
¾Æ, Á»Àü¿¡ Å×½ºÆ®Çϱâ À§ÇØ index.phpÀÇ
<tr>
<td align="center" bgcolor="#A9C0D0">ÆÄÀϾ÷·Îµå1<br>(±×¸²ÆÄÀÏ)</td>
<td>
<script language="javascript">
makeSwfSingleUpload(
movie_id='smu01',
flash_width='400',
limit_size='10',
file_type_name='±×¸²ÆÄÀÏ', allow_filetype=' *.jpg *.jpeg *.gif *.png', deny_filetype='*.cgi *.pl', upload_exe='upload.php'
);
</script>
</td>
</tr>
À§¿Í °°Àº 3°³ÀÇ makeSwf [ Single|Multi ] Upload ¿¡¼
ÇÏ´ÜÀÇ upload_exe='upload.php' ºÎºÐÀ» Ȥ½Ã³ª Çؼ uploadx.php(½ÇÁ¦ ¾ø´Â ÆÄÀÏ)·Î
¼öÁ¤ÇØ º¸´Ï °á°ú´Â¿ä
"³×Æ®¿öÅ© ¿¡·¯°¡ ¹ß»ýÇÏ¿´½À´Ï´Ù. °ü¸®ÀÚ¿¡°Ô ¹®ÀÇÇϼ¼¿ä" ¶ó´Â ¸Þ½ÃÁö°¡ ¶ß´õ±º¿ä.
Áï, upload.php¸¦ ºÒ·¯µéÀ̱â´Â ÇÑ´Ù´Â °ÅÁö¿ä.
Áö±Ý º¼¶§,
index.php(-> swf_upload.js(-> single/multi_upload.swf)->upload.php)
ÀÌ·± ÇüÅ·Πµ¥ÀÌÅÍ°¡ Àü´ÞµÇ´Â °Í °°Àºµ¥ È帧ÀÌ ¸Â³ª¿ä ??
Áï, index.php¿¡¼ swf_upload.js°¡
single/multi_upload.swf¸¦ ºÒ·¯¼ ȸéÀ» Ç¥½ÃÇÏ°í
±× Ç¥½ÃµÈ ÆûÀ» ÅëÇؼ Àоîµé¿©Áø ÆÄÀϵéÀº swf_upload.js°¡ swf¸¦ ÅëÇؼ ȸéÀ» Ç¥½ÃÇÒ ¶§ ºÒ·¯µéÀÎ upload.php·Î ³Ñ°ÜÁ®¼ Æú´õ»ý¼º ¹× À̵¿µîÀÇ Ã³¸®¸¦ ÇÑ ÈÄ ´Ù½Ã index.php¿¡¼ cmd=exec ºÎºÐÀ» ó¸®ÇÏ°Ô µÇ³ª¿ä ??
Èì³Ä,, ¾îµð¿¡¼ debugging 󸮸¦ Çϸé Àü´ÞµÇ´Â ³»¿ëÀ» Ãâ·ÂÇÒ ¼ö ÀÖÀ»±î¿ä ?? |
|
|
|
|
Áú¹®ÇØ¿ä(221.138.85.114)
2008-11-05 23:54:27
|
|
³× Àúµµ ¿¹Àü¿¡ ½Å¹Î¼ö´Ô°ú °°ÀÌ Å×½ºÆ®Çغ¸¾Ò´Âµ¥ ³ª¿ÀÁö ¾Ê¾Ò½À´Ï´Ù.
¾Æ¸¶ Ç÷¡½Ã¿¡¼ ó¸®Çؼ ¾È³ª¿À´Â°Å °°½À´Ï´Ù..
ÇÏÁö¸¸ Á¤»óÀûÀ¸·Î ÀÛµ¿ÇÕ´Ï´Ù. |
|
|
|
|
Áú¹®ÇØ¿ä(221.138.85.114)
2008-11-06 22:03:45
|
|
Ç÷¡½Ã Ç÷¹À̾î10 ÇØ°áÀº ÀÇ¿Ü·Î °£´ÜÇÕ´Ï´Ù..
multi_upload.fla ÆÄÀÏÀ» ¿©½Ã°í
version<8 ºÎºÐÀ» ãÀ¸½ÅÈÄ
version<8&&version!=1 ·Î °íÃÄÁֽøéµË´Ï´Ù ¤¾¤¾.. |
|
|
|
|
Á¤ÇÊ¿ì(211.36.188.10)
2008-12-16 04:43:04
|
|
¾ÆÁÖ ÁÁÀº ÇÁ·Î±×·¥ °ø°³ÇØ Áּż °¨»çÇÕ´Ï´Ù.
¿ì¼± ±Ã±ÝÇÑ°Ç ¶óÀ̼¾½º±¸¿ä.
ÆÄÀÏ°¹¼ö Á¦ÇÑÀ» À§ÇØ Á¦°¡ ¼öÁ¤Çصµ ±¦ÂúÀºÁö¿ä?
±×¸®°í ½Å¹Î¼ö´Ô Ȥ½Ã ÆÄÀÏ ¾÷·Îµå ¿ë·®ÀÌ php.ini ¿¡¼ ÀÛ°Ô ¼³Á¤µÇ¾î ±×·±°Ç ¾Æ´ÑÁö¿ä?
Àú´Â ±×°Ô ÀǽɵǴµ¥¿ä. |
|
|
|
|
±è±â¹ü(58.120.47.147)
2009-01-06 12:00:57
|
|
¾È³çÇϼ¼¿ä
Ç÷¡½¬ ÆÄÀϾ÷·Î¸¦ »ç¿ëÇÒ·Á°í Çϴµ¥¿ä..
ÇöÀç ¼Ò½º·Î ¾÷·Îµå¶û ´Ù Àߵ˴ϴÙ
Á¦°¡ ´Ù¸¥¼¹ö¿¡ ¿Ã·Á¾ß µÉÀÏÀÖ¾î¿ä..
È¥ÀÚ ÇØ°áÀ» Çغ¼·Á°í Çصµ Ç÷¡½¬ÇÁ·Î±×·¥Àº ¾Æ¿¹¸ð¸£°í PHPµµ ÃʱÞÀÚ¶ó¼
¿°Ä¡ºÒ±¸ÇÏ°í ±ÛÀ»¾¹´Ï´Ù
ftp_put($ftp, $upload_img_name, $_FILES['Filedata']['tmp_name'], FTP_BINARY)
PHP FTP °´Ã¼¸¦ »ç¿ëÇؼ ÆÄÀÏÀ» ¾÷·Îµå ÇÒ·Á´Âµ¥¿ä
FTP °´Ã¼¸¦ »ç¿ëÇؼ ´Ù¸¥¼¹ö¿¡ ¾÷·Îµå±îÁö ¼º°øÇß½À´Ï´Ù
±â´É ±¸ÇöÇؼ ¾²´Âµ¥ Å©°Ô ¹®Á¦´Â ¾ø½À´Ï´Ù..
¹®Á¦°¡ FTP °´Ã¼¸¦ »ç¿ëÇÏ´Ùº¸´Ï ¾÷·Îµå½Ã Ç÷¡½¬ÀÇ ÇÁ·Î±×·¡½º ¹Ù°¡ 100%ÀÌÈÄ
½ºÅ¸Æ®·Î FTP ¼¹ö¿¡ ÀúÀåÀÌ µÇ´õ±º¿ä..
Áï °ÅÀÇ 100%ÀÌÈÄ Çѹø´õ 100%ÀÇ ½Ã°£ÀÌ ´õµå´Âµ¥
¿ë·®ÀÌ ÀÛÀº ÆÄÀÏÀº ¾÷·Îµå ½Ã°£ÀÌ º°·Î ¾ÈµÇ´Â ÆÄÀÏÀº µô·¹ÀÌ°¡ ªÁö¸¸
100MÁ¤µµ ¾÷·Îµå¿¡ »ç¿ëµÇ´Âµ¥.. °ÅÀÇ 100%°É¸®´Â½Ã°£¸¸Å´õ°É¸®´õ±º¿ä
Ç÷¡½¬ ¾÷·Î´õ ÀÌ¿ëÇÏ´Â°Ô ½Ç½Ã°£ ÇÁ·Î±×·¡½º ¹Ù¸¦ ÀÌ¿ëÇÑ À¯Àúµé¿¡°Ô
ȨÆäÀÌÁö°¡ ¸ØÃßÁö¾Ê¾Ò´Ù°í ÀνÄÇÏ°Ô µÇµµ·Ï ÇϱâÀ§ÇØ ¾´´Ù°í »ý°¢ÇÕ´Ï´Ù
±×·±µ¥ 100%¿¡¼ ¸ØÃç¼ È¨ÆäÀÌÁö°¡ ¸ØÃá°Í󷳺¸À̰Եǹö¸³´Ï´Ù
100% ÀÌÈÄ ·Î ÆäÀÌÁö¸¦ ²¨µµ ¾÷·Îµå´Â µË´Ï´Ù
¹°·Ð ´Ù¸¥¼¹ö°¡ ¾Æ´Ï¶ó¸é 100%¿¡ Á¤È®È÷ ¾÷·Îµå°¡ ¿Ï·á°¡ µË´Ï´Ù
¿äÁ¡Àº
´Ù¸¥¼¹ö¿¡ ÆÄÀÏÀ» ¾÷·ÎµåÇÕ´Ï´Ù (´Ù¸¥¼¹ö´Â ¹Ìµð¾î¼¹ö À̸ç php,¾ÆÆÄÄ¡°¡ ¾È±ò·ÁÀÖÀ½)
Ç÷¡½¬ÀÇ ÇÁ·Î±×·¡½º¹Ù°¡ 100% °¡ µÇ¾úÀ»¶§ ´Ù¸¥¼¹ö·Î ÆÄÀÏ ¾÷·Îµå°¡ ¿Ï·á°¡ µÇ¾ßÇÕ´Ï´Ù
ÀÌ¿ÕÀ̸é PHP ·Î ÇØ°áÀ» º¸°í ½Í½À´Ï´Ù
±ÛÀçÁÖ°¡ ¾ø¾î µÎ¼¾øÀÌ °°Àº¸»À» ¹Ýº¹ÇÑ°Í°°¾Æ Á˼ÛÇÕ´Ï´Ù
±×³É ÈùÆ® ¶óµµ ÁÁ½À´Ï´Ù µµ¿Í ÁÖ¼¼¿ä ^^; |
|
|
|
|
±è¹ÎÁØ(121.174.86.118)
2009-01-12 13:14:34
|
|
¾È³çÇϼ¼¿ä?
¾÷·Îµå´Â Á¤»óÀûÀ¸·Î ÀÌ·ç¾î Áö´Âµ¥..
Ç÷¡½¬ ¹öÀüÀÌ 8.0 ÀÌ»óÀÎÁö È®ÀÎÇϼ¼¿ä.\nÀÌ¹Ì ¼³Ä¡ÇϽŠ°æ¿ì´Â ºê¶ó¿ìÀú¸¦ ÀüºÎ ´Ý°í ´Ù½Ã ½ÃÀÛÇϼ¼¿ä.
ÀÌ¿¡·¯°¡ °è¼Ó ¶ß³×¿ä ¿Ö ±×·±Áö Á» ¾Ë·ÁÁÖ½Ã¸é °¨»çÇÏ°Ú½À´Ï´Ù.
´Ê¾úÁö¸¸ »õÇغ¹ ¸¹ÀÌ ¹ÞÀ¸¼¼¿ä |
|
|
|
|
Áö¿ì(ziwoo)
2009-02-01 01:06:37
|
|
//±è¹ÎÁØ
À§ ´ñ±ÛÁß¿¡ Áú¹®ÇØ¿ä ´ÔÀÌ ÀÛ¼ºÇϽŠÇØ°áÃ¥ÀÌ ÀÖ½À´Ï´Ù. |
|
|
|
|
Neighbor(59.9.227.94)
2009-02-02 21:41:15
|
|
ÆÄÀÏÀ» ¾÷·ÎµåÇϸé files Æú´õ³»¿¡ md5 °ªÀ¸·Î ¿Ã¶ó°¡´øµ¥ ¿ø·¡ ÆÄÀϸíÀ¸·Î ¸ø¹Ù²Ù³ª¿ä? |
|
|
|
|
Neighbor(59.9.227.94)
2009-02-02 22:05:09
|
|
±×¸®°í ½Å¹Î¼ö´Ôó·³ ÆÄÀÏÀÌ ¾È¿Ã¶ó°¡³×¿ä..
±×´ë·Î ¾ÐÃà Ç®¾î¼ »ç¿ëÇߴµ¥..
ÆÄÀϵµ 3°³ Áý¾î³ÖÀ¸¸é °á°ú¿¡¼± 2°³¸¸ ³ª¿À°í 10°³ ³ÖÀ¸¸é ¾Æ¿¹ ¾È³ª¿À°í ÀÌ·± Çö»óµµ
ÀÖ´Ù´É... |
|
|
|
|
Áö¿ì(ziwoo)
2009-02-03 00:22:01
|
|
//Neighbor
$_FILES['smu01']['tmp_name'][$i] À» $_FILES['smu01']['name'][$i]À¸·Î ÀúÀåÇϸé
¿ø·¡ À̸§À¸·Î ³ª¿É´Ï´Ù.
µÎ¹ø° Áú¹® ¾÷·Îµå ÀÌ»ó ¹®Á¦´Â PHP.INI ÀÇ ÃÖ´ë ¾÷·Îµå Å©±â, ½Ã°£ µîÀ» Á¶Á¤Çϼ¼¿ä.
|
|
|
|
|
ÀÌÁ¤½Ä(121.184.6.224)
2009-02-25 18:02:11
|
|
ÁÁÀº ÇÁ·Î±×·¥À» °ø°³ÇØ Áּż °¨»çÇÕ´Ï´Ù^^
Àß »ç¿ëÁßÀε¥ swfÆÄÀÏÀÌ ¾÷·Îµå°¡ ¾ÈµÇ´õ±º¿ä~
swfÆÄÀϵµ ¼¹ö·Î ¾÷·Îµå ÇÏ·Á¸é ¾îÂîÇØ¾ß µÇ´ÂÁö...
ºÎŹµå·Á¿ä^^ |
|
|
|
|
Áö¿ì(59.4.222.149)
2009-02-28 07:50:23
|
|
//ÀÌÁ¤½Ä
´Ù¿î¹ÞÀº ÆÄÀÏ Áß index ÆÄÀÏÀ» ¿¾îº¸½Ã¸é Ç÷¡½Ã »ðÀÔÇÏ´Â ºÎºÐ¿¡¼
¼³Á¤ÇÒ ¼ö ÀÖ½À´Ï´Ù. ÁÖ¼®ÀÌ ´Þ·ÁÀÖÀ¸´Ï ã±â ½¬¿ï°Ì´Ï´Ù. |
|
|
|
|
±è±â¹ü(58.120.47.147)
2009-03-13 17:36:25
|
|
¿©±â ÆÄÀÏÀ» µ¿¿µ»óÀ» ¾÷·Îµå Çϴµ¥ ¾µ·Á°í ÇÕ´Ï´Ù
¾÷·Îµå Àߵǰí Çѵ¥ ...
ã±â¹öÆ° ´©¸¥ÈÄ ÆÄÀϼ±ÅÃÇÑÈÄ ±×µ¿¿µ»óÀÇ ½Ã°£À» ±¸ÇÏ°íÀÚ Çϴµ¥¿ä
ÆÄÀϼ±ÅÃÈÄ ±×ÆÄÀÏÀÇ À̸§À̶û ½ÎÀÌÁ ±¸ÇÏ´õ±º¿ä...
Àüü °æ·Î¸¦ °¡Á®¿À°íÀÚ Ç÷¡½¬ ¼Ò½º¸¦ ¿¾î봣½À´Ï´Ù (ž¼ óÀ½...)
ÀÌ°ÍÀú°Í º¯¼ö Àִ°Š´Ù³Ö¾î¼ ÀÚ¹Ù½ºÅ©¸³Æ®·Î alert()·Î ¶ç¿öº¸°í Çصµ
µµÅë Ç÷¡½¬¿¡ ´ëÇØ À߸ô¶ó¼¿ä ÇØ°áÀÌ ¾ÈµË´Ï´Ù
ÆÄÀÏÀÇ À̸§ ½ÎÀÌÁî ±¸ÇϵíÀÌ ½Ã°£À» ±¸ÇÒ¼öÀÖÀ½ÁÁ°í¿ä
¾Æ´Ô Àüü °æ·Î ¶óµµ ÀÚ¹Ù½ºÅ©¸³Æ®·Î ³Ñ°Ü ÁÖ¸é µË´Ï´Ù
¼±ÅÃÇÑÆÄÀÏÀ» ¹Ì¸®º»´Ù´Â °³³äÀä...
Ȥ½Ã ¾Ë¼ö ¾øÀ»±î¿ä? ^^; |
|
|
|
|
Áö¿ì(218.155.158.29)
2009-03-13 22:12:26
|
|
//±è±â¹ü
ÇöÀç·Î¼± ºÒ°¡´ÉÇÑ ¾ÆÀ̵ð¾î·Î »ý°¢µË´Ï´Ù. |
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-20 14:49:47
|
|
µµ¿ÍÁÖ¼¼¿ä.ÆÄÀϿø®´Ù ¿¡·¯³ª¸é Àü¿¡ ÆÄÀÏÀ» °¡Áö°í ÀÖ´Ù°¡ ¼º°øÀûÀ¸·Î ¾÷·ÎµåµÇ¸é
db¿¡ Àü¿¡ ¿¡·¯³ª¼ ¸ø¿Ã¶ó°£ ÆÄÀϵµ ´Ù½Ã ¿Ã¸³´Ï´Ù.3°³¿Ã¸®´Ù ¿¡·¯³ª¼ 2°³ ¿Ã¸®¸é 5°³ ¿Ã¶ó°©´Ï´Ù.jsp¹öÀüÀÌ°í¿ä. |
|
|
|
|
Áö¿ì(ziwoo)
2009-04-20 16:26:33
|
|
//¹Ú»óÅÂ
¾÷·Îµå Àü¿¡ ¿ì¼± ÀÌÀüÀÇ ¾²·¹±â ÆÄÀÏÀ» »èÁ¦Çϵµ·Ï ÄÚµùÇϼ¼¿ä.
¿¹Á¦¿¡µµ ±×·±ºÎºÐÀÌ ÀÖ½À´Ï´Ù. |
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-20 16:39:27
|
|
¿¹Á¦°¡ php¶ó ¸ð¸£°ÚÀ¾´Ï´Ù. |
|
|
|
|
¹Ð¾ËÀ»²Þ²Ù´ÂÀÌ(115.139.114.191)
2009-04-21 00:30:44
|
|
¾Æ¹«¸® °í¹ÎÇصµ ¸ð¸£°Ú¾î¿ä.. ´ä±Û ºÎŹµå¸³´Ï´Ù.
¿ì¼± ¸ÚÁø ¼Ò½º¸¦ °ø°³ÇØ ÁÖ½ÉÀ» °¨»çµå¸³´Ï´Ù. Á¦°¡ ã´ø ¼Ò½º¿´´Âµ¥.. À¯¿ëÇÏ°Ô »ç¿ëÇϵµ·Ï ÇÏ°Ú½À´Ï´Ù. ´Ù¸¸, Á¦°¡ ½Ç·ÂÀÌ ¹ÌÁøÇÏ´Ù º¸´Ï ½º½º·Î ãÀ» ¼ö ¾ø´Â ³»¿ëÀÌ ÀÖ¾î ¸çÄ¥¹ã °í»ýÇϸç ã´Ù°¡ Áú¹® ³²±é´Ï´Ù.
(ÇѱÛ)ÆÄÀϸíÀ¸·Î ÀúÀåÇÏ°Ô µÇ¾î ÀÖ´Â ¾÷·Îµå ¼Ò½º¸¦ ÆÄÀϸíÀ» DBÀÇ primery Key °ªÀ¸·Î º¯Çü½ÃÄѼ ÀúÀåÇÏ·Á°í ÇÕ´Ï´Ù.(ÀϹÝÀûÀÎ ÀúÀå ¹æ¹ýÀ¸·Î ¾Ë°í ÀÖ¾î¿ä..) À̶§, ÆÄÀϸíÀ» ÃßÃâÇÏ´Â ÄÚµùÀ» ¸ð¸£°Ú³×¿ä.. index.php ÆÄÀÏ¿¡ ÀÖ´Â for ¹® ¾ÈÀÇ echo $_FILES['smu02']['name'][$i]."<br>"; À¸·Î Âï¾îº¸Áö¸¸ ³ªÅ¸³ªÁö ¾Ê½À´Ï´Ù.
¶Ç, count($_FILES['smu03']['tmp_name'])·Î ÷ºÎÆÄÀϼö¸¦ ±¸ÇÏ·Á°í Çϴµ¥.. ¾ÈµÇ³×¿ä.. ÆÄÀϸí°ú È®ÀåÀÚ¸¦ ±¸ÇÏ´Â ¹æ¹ýÀ» ºÎŹµå¸³´Ï´Ù. |
|
|
|
|
Áö¿ì(ziwoo)
2009-04-21 00:56:14
|
|
//¹Ð¾ËÀ»²Þ²Ù´ÂÀÌ
±âº»¼¼Æà ÈÄ ¿¹Á¦ index.phpÀÇ µÎ¹ø° ¾÷·Îµå Æû¿¡ ÆÄÀÏÀ» ¾÷·Îµå ÇÑ´Ù¸é..
echo $_FILES['smu02']['name'][$i]."<br>"; ·Î ÂïÇô¾ß Á¤»óÀÔ´Ï´Ù.
Â÷±ÙÂ÷±Ù ´Ù½Ã ¼³Ä¡Çغ¸¼¼¿ä.
°£È¤ PHP ¼¼Æÿ¡ µû¶ó $_FILES °°Àº ´ÜÃàÇü º¯¼ö¸¦ ÀνĸøÇÏ´Â ¼¹ö°¡ ÀÖÀ» ¼ö ÀÖ½À´Ï´Ù.
$HTTP_POST_FILES ·Îµµ Çغ¸¼¼¿ä.
count ÇÏ´Â ¹æ¹ýµµ ¸Â°Ô Çϼ̰í¿ä..
È®ÀåÀÚ ÃßÃâÀº...strrchr()¸¦ ÀÌ¿ëÇϼ¼¿ä.
echo strrchr( "test.jpg" , "." ); // °á°ú : ".jpg" |
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-21 13:08:02
|
|
´ñ±Û¿¡ ´Þ¸®½Å´ë·Î Çصµ Ç÷¡½¬8¹öÀü ¿¡·¯´Â ³ª±¸¿ä.¿©±â Å×½ºÆ®ÆäÀÌÁö¿¡¼µµ ³ª´õ±º¿ä..fla¼öÁ¤Çصµ ¸¶Âù°¡ÁöÀÔ´Ï´Ù. |
|
|
|
|
Áö¿ì(ziwoo)
2009-04-21 13:37:30
|
|
Å×½ºÆ® ÆäÀÌÁö ¹öÀü¿¡·¯ ³ª´ø°Í¸¦ ¾îÁ¬¹ã¿¡ ¼öÁ¤Çؼ ´Ù½Ã ¾÷·ÎµåÇß½À´Ï´Ù.
ÇöÀç´Â ¹öÀü¤··¯´Â ³ªÁö ¾Ê°íÀÖ½À´Ï´Ù.
|
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-21 17:34:02
|
|
¾Æ ±×·³ ´Ù½Ã ¹ÞÀ¸¸é µÇ´Â°Ç°¡¿ä? |
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-22 09:38:45
|
|
°¨»çÇÕ´Ï´Ù.»õ¹öÀü¹Þ¾Æ¼ µÇ¾úÀ¾´Ï´Ù.±Ùµ¥ ½ºÅ©·ÑÀ» ³»¸®¸é ÆÄÀÏ÷ºÎ¹Ú½ºÇ÷¡½¬°¡ Àá½Ã »ç¶óÁ³´Ù°¡ ³ª¿À´Âµ¥ ÀÌ°Ç ¿ø·¡ ±×·±°Ç°¡¿ä? |
|
|
|
|
¹Ú»óÅÂ(recyon)
2009-04-27 18:07:05
|
|
Ç÷¡½¬°¡ ½ºÅ©·Ñ¹Ù ³»¸®¸é À̱׷¯Áý´Ï´Ù.ÀÌ·±°æ¿ì´Â ¾îÂî ÇؾßÇÏ´ÂÁö¿ä? |
|
|
|
|
±è¼±¿ë(mnchkim)
2009-04-28 13:23:28
|
|
¿ì¼± ÁÁÀº ¼Ò½º °¨»çµå¸³´Ï´Ù.
Àú´Â jsp·Î º¯È¯ÇÏ¿© »ç¿ëÇÏ±æ ¿øÇϴµ¥
Ȥ½Ã request·Î ÆÄÀϸíÀ» ¹ÞÀ»¼ö °¡ ÀÖ³ª¿ä? |
|
|
|
|
¹Ú»óÅÂ(211.47.235.39)
2009-04-28 15:41:55
|
|
Àß¹Þ¾ÆÁý´Ï´Ù. |
|
|
|
|
ÀÌÁø¼®(58.227.22.57)
2009-05-28 11:36:30
|
|
ã°í ÀÖ¾ú´Âµ¥ ¿©±â¼ ã¾Ò³×¿ä ÇÏÁö¸¸.. php ¤¾¤¾;;
java, jsp·Î ¹Ù²ã¼ Á¤¸»~~~ Àß ¾²°í ÀÖ½À´Ï´Ù
°¨»çÇÕ´Ï´Ù.~
|
|
|
|
|
¹ÚÁ¾ÅÃ(121.169.217.136)
2009-09-04 08:57:24
|
|
Áߺ¹ ÆÄÀÏ Á¦¾î°¡ ÀÖÀ¸¸é ÁÁÀ»°Å °°½À´Ï´Ù.¤»;; |
|
|
|
|
(121.169.217.136)
2009-09-07 01:38:00
|
|
µå·¡±×·Î ÆÄÀÏÀ» Ãß°¡ÇÏ´Â ±â´ÉÀº ³ÖÀ» »ý°¢ÀÌ ÀÖÀ¸½ÅÁö? ¤» |
|
|
|
|
¹ÚÁ¾ÅÃ(121.169.217.136)
2009-09-07 01:38:15
|
|
¾Æ¹«Æ° ¾ÆÁÖ Àß ¾²°í ÀÖ½À´Ï´Ù. |
|
|
|
|
Áö¿ì(218.155.158.29)
2009-09-07 18:06:33
|
|
µå·¡±×´Â Á¦ ´É·Â ¹Û ÀÔ´Ï´Ù..
±×¸®°í Á¤ÀÛ Àü ÀÌ°É ¾È¾²°í ÀÖ¾î¿ä...^^ |
|
|
|
|
±èÀç°â(121.188.126.118)
2009-10-06 19:04:51
|
|
³Ê¹«ÁÁ¾Æ¿ä. Àß»ç¿ëÇÏ°Ú½À´Ï´Ù. Á¤¸» ´ë´ÜÇØ¿ä. |
|
|
|
|
ÀÚ¹ÙÃʺ¸(122.199.220.199)
2009-11-03 17:49:44
|
|
ÀÌÁø¼®´Ô...
java, jsp ¹öÀü ²À ¿Ã·ÁÁÖ¼¼¿ä~~~ |
|
|
|
|
¼º´ë°æ(ohdosima)
2010-05-20 11:28:45
|
|
¾È³çÇϼ¼¿ä Ç÷¡½Ã¶û jsp¿Í ¿¬µ¿ÇÏ¿© ²À »ç¿ëÇغ¸°í½ÍÀºµ¥¿ä..
¾ÆÁ÷ Ãʺ¸¶ó ¾î¶»°Ô ÇؾßÇÒÁö °¨À̾ÈÀâÈ÷³×¿ä..
ÀÌÁø¼®´Ô Ȥ½Ã µµ¿òÁ» ºÎŹµå·Áµµ µÉ±î¿ä |
|
|
|
|
½Ó´ß(ciee)
2012-01-04 12:26:50
|
|
Áö¿ì´Ô..
12/9ÀÏ ¹èÆ÷ÇϽŰŠº¸¸é multi upload swf ÆÄÀÏ¿¡ Àü¼Û°ü·Ã Á¤º¸ Ç¥½ÃÇÏ´Â Box°¡ ÇÏ´Ü¿¡
2°³ ÀÖ´øµ¥ ÀÌ°Å »èÁ¦ ¸øÇϳª¿ä?(¾Æ´Ï¸é »èÁ¦ÇÏ°í ¿Ã·ÁÁÖ½Ã¸é ¸¹Àº µµ¿òÀÌ µÉ °Å °°½À´Ï´Ù)
Ãʺ¸¶ó ´Ù ±¸ÇöµÈ°Å ¾²´Â°Íµµ ¾î·Æ³×¿ä. ÇÏ¿©°£ ÁÁÀºÀÚ·á °øÀ¯ÇØ Áּż °¨»çµå¸³´Ï´Ù.
|
|
|
|
|
Áö¿ì(ziwoo)
2012-01-04 15:17:33
|
|
//½Ó´ß´Ô
ÁÁÀº ÁöÀûÀ» ÇØÁּ̽À´Ï´Ù.
¹Ìó »ý°¢ÇÏÁö ¸øÇߴµ¥, ÆÄÀÏ °¹¼ö¸¦ ´Ã¸®¸é ±×°Ô º¸À̴±º¿ä.. ^^
¿À´Ã ´Ù½Ã ¿Ã¸° ÆÄÀÏÀ» ´Ù¿î¹ÞÀ¸¼¼¿ä. °¨»çÇÕ´Ï´Ù. |
|
|
|
|
½ÉÀç°©(ciee)
2012-01-04 16:58:22
|
|
ºü¸¥ ÀÀ´ä °¨»çµå¸³´Ï´Ù. ÅëÀåÀÌ ³ÑÃijª´Â ÇÑÇصDZ⸮ ¹Ù¶ø´Ï´Ù. ^^ |
|
|
|
|
½ÉÀç°©(ciee)
2012-01-10 08:11:01
|
|
Áö¿ì´Ô..
ÀÛ³â 12/9ÀÏ ¹èÆ÷ÇÑ ÀÚ·á¿¡¼´Â ÀÌ»óÀÌ ¾ø´Âµ¥ ¿ÃÇØ(2012) 1/4Àϳ¯ ¿Ã·áÁֽŠÀÚ·á¿¡¼´Â
900MBÀÌ»ó¸¸ µÇ¾îµµ ¿À·ù ¹ß»ýÇÏ¸é¼ ¾÷·Îµå°¡ ¾ÈµÇ³×¿ä.
¸ÞÀϷΠȸéĸÃÄÇÑ ÀÚ·á º¸³»µå¸³´Ï´Ù. È®Àοäû µå¸³´Ï´Ù. |
|
|
|
|
Áö¿ì(ziwoo)
2012-01-11 02:14:15
|
|
//½ÉÀç°© ´Ô
µû·Î º¯°æÇÑ°Ô ¾øÀÌ ÀÏÀü¿¡ ¸»¾¸ÇϽŠÅؽºÆ®»óÀÚ¸¸ À§Ä¡¸¦ º¯°æÇÑ°ÍÀ̶ó..
12/9ÀÏÀÚ³ª 1/4ÀÏÀÚ°¡ ´Ù¸¦ ¼ö°¡ ¾ø´Â »óȲÀÔ´Ï´Ù.
º¸³»ÁֽŠ¿¡·¯È¸éÀº ¾î¶²ÀÌÀ¯·Îµç ¾÷·ÎµåµÈ ÆÄÀÏÀ» °¡Á®¿ÀÁö ¸øÇßÀ»¶§ ¹ß»ýÇÏ´Â ¿¡·¯ÀÔ´Ï´Ù.
¿¡·¯Ãâ·Â ºÎºÐÀº index.php¿¡ if($splitName){} ÀÌ·± IF¹®À» »ðÀÔÇؼ ÇØ°áÇß½À´Ï´Ù¸¸,
¹®Á¦ÀÇ º»ÁúÀº ¿¡·¯¹® Ãâ·ÂÀÌ ¾Æ´Ï¶ó ¾÷·ÎµåµÈ ÆÄÀÏÀÌ ¾ø´Ù´Â°ÍÀÏÅÙµ¥¿ä..
Ȥ½Ã¶óµµ Ç÷¡½Ã ÇÁ·Î±×·¥ ¿ÜÀûÀÎ ¹®Á¦´Â ¾Æ´ÑÁö È®ÀÎÇغ¸½Ã±â ¹Ù¶ø´Ï´Ù.
À̸¦Å×¸é ¼¹öÀÇ ¿ë·®À̶óµçÁö, ¾÷·ÎµåÁ¦ÇÑÀ̶óµçÁö, µîµîÀÌ¿ä.
index ÆÄÀÏ º¯°æÇÑ°Ç ´Ù½Ã ¿Ã·È½À´Ï´Ù.
¾÷·Îµå ¼Óµµ°¡ ºü¸£Áö ¸øÇÑÁö¶ó ´ë¿ë·® ¾÷·Îµå´Â ¾ÆÁ÷ Å×½ºÆ®¸¦ ¸øÇغýÀ´Ï´Ù.
|
|
|
|
|
½ÉÀç°©(ciee)
2012-02-09 19:59:10
|
|
Áö¿ì´Ô..À§ ¹®Á¦ ÇØ°áµÇ¾ú½À´Ï´Ù
ÀÏ´Ü ÇØ°áÀº PHP VersionÀ» 5.2.17 => 5.3.8 ·Î upgradeÇÏ´Ï ÀüÇô ¹®Á¦¾øÀÌ
Àß µË´Ï´Ù.(ÀüÇô ÀÌ°Å ¹®Á¦¶ó°í »ý°¢Ä¡ ¾Ê¾Ò´Âµ¥ Flash ÇÑ°èÀÎ 2GB±îÁö´Â
ÀüÇô ¹®Á¦¾øÀÌ Àß µË´Ï´Ù. ³Ê¹« ÁÁ³×¿ä)
ÇÏ¿©°£ ÁÁÀº ÇÁ·Î±×·¥ °ø°³ °¨»çÇÕ´Ï´Ù.
|
|
|
|
|
¹é±¤¿(andpizza)
2012-03-13 14:32:56
|
|
Áö¿ì´Ô ¿Ã·ÁÁֽŠÆÄÀÏ 2008³âµµ Âë¿¡ ¹Þ¾Æ¼ ¾ÆÁ÷ °¨»çÈ÷ Àß ¾²°í ÀÖ½À´Ï´Ù. ÇÏÁö¸¸ ÃÖ±Ù Å©·Î½º ºê¶ó¿ì¡ ÀÛ¾÷ÇÏ´Ùº¸´Ï ¼¼¼Ç ¹®Á¦ ¶§¹®¿¡ session_id¸¦ ³Ñ±â´Â ÀÛ¾÷µµ Ãß°¡ ÀÛ¾÷Çߴµ¥ ÆÄÀÏ ¾÷·ÎµåÇϸé ÆÄÀÏÀÌ ÀüºÎ ¿Ã¶ó°¡Áö ¾Ê´Â ¹®Á¦°¡ »ý°å½À´Ï´Ù.
Á¤È®ÇÏ°Ô ¸»¾¸µå¸®ÀÚ¸é ·ÎÄà APM¼Â¾÷Çؼ Å×½ºÆ®ÇÏ¸é ¹®Á¦°¡ ¾øÁö¸¸, ¼¹ö¿¡ ¿Ã·Á¼ Å×½ºÆ®Çϸé 8°³ ¿Ã¸®¸é 4~6°³ Á¤µµ¹Û¿¡ ¾÷·Îµå µÇÁö ¾Ê³×¿ä...ÀÌ·¡Àú·¡ ã´Ù°¡ ´Ù½Ã ÀÌ°÷¿¡ ¿Í¼ ÃֽŠÆÄÀÏ·Î ¿Ã¸®´Ï±î Á¤»óÀûÀ¸·Î ¿Ã¶ó°¡¼ ÇØ°áÇß½À´Ï´Ù.
´Ù¸¸, Á¦°¡ ÆÄÀÏÀ» ¼±ÅÃÇÏÀÚ¸¶ÀÚ ÆÄÀÏ ¾÷·ÎµåÇϵµ·Ï ¼öÁ¤ÇÑ Ç÷¡½Ã´Â ¾ÆÁ÷µµ ±×·± »óų׿ä....»õ·Î¿î ÆÄÀÏÀº flaÆÄÀÏÀÌ ¾ø¾î¼ Âü°íÇÒ ¼ö°¡ ¾ø°í...¹«¾ùÀÌ À߸øµÈ°ÇÁö Ȥ½Ã ¤È÷´Â°Ô ÀÖÀ¸½ÅÁö¿ä? |
|
|
|
|
¾È¿ëÅÂ(c4muhak)
2012-07-05 22:51:23
|
|
Áö¿ì´Ô Ç÷¡½Ã ¾÷·Îµå Àß ¾²°í ÀÖ½À´Ï´Ù.
ÇöÀç µ¿¿µ»ó ÆÄÀÏÀ» ¾÷·Îµå ÈÄ ffmpeg·Î flv ÆÄÀÏ·Î º¯È¯ ÇÏ´Â ÀÛ¾÷À» ÇÏ°í ÀÖ½À´Ï´Ù.
ÇöÀç flv º¯È¯±îÁö ÁøÇà µÈ »óÅÂÀÔ´Ï´Ù.
¹®Á¦´Â Ç÷¹½¬¿¡¼ ¾÷·Îµå ÈÄ ¼¹ö¿¡¼ flv·Î º¯È¯ÇÏ´Â ½Ã°£ÀÌ °É¸³´Ï´Ù.
Ç÷¹½¬ ¾÷·Îµå ȸ鿡¼ flv º¯È¯½Ã ¸Þ½ÃÁö ¶Ç´Â Æ˾÷âÀ» ¶ç¿ö flv·Î ÄÄÆÄÀÏ ÁßÀÔ´Ï´Ù.
¶ó´Â ¸Þ½ÃÁö¸¦ ³Ö°í ½Í½À´Ï´Ù.
°¡´É ÇÑÁö¿ä?
Ç÷¹½¬ ¿øº»Àº °ø°³°¡ ºÒ°¡´É ÇÑÁö¿ä?
¾Æ´Ï¸é ±¸¸Å¸¦ ÇØ¾ß µÇ´Â °Ç°¡¿ä? |
|
|
|
|
Áö¿ì(ziwoo)
2012-07-18 02:01:44
|
|
//¾È¿ëÅÂ
¼¿ï»ýÈ°À» Á¤¸®ÇÏ°í ³²ÇØ Ææ¼ÇÀ¸·Î ¿ÂÁö°¡ ²Ï µÇ¾ú½À´Ï´Ù.
´õ±¸³ª ¿äÁòÀº ¼º¼ö±â¶ó ȨÇǵµ ¿À·§¸¸¿¡ È®ÀÎÇÕ´Ï´Ù.
´äº¯ÀÌ ¸¹ÀÌ ´Ê¾úÁö¸¸ Ç÷¡½Ã¾÷·Îµå¿Í flvº¯È¯»çÀÌ¿¡ ÀÚ¹Ù½ºÅ©¸³Æ®¸¸À¸·Î
ÇØ°áÀÌ µÉ°Í°°±º¿ä. Àß ¾ÈµÇ½Ã¸é ¸ÞÀÎÆäÀÌÁö ÇÏ´ÜÀÇ Á¦ ÈÞ´ëÆùÀ¸·Î
ÀüÈÇϼŵµ µË´Ï´Ù.
|
|
|
|
|
|