|
|
ÇöÀçÀ§Ä¡: ¸ÞÀÎ ÇØÇÇÆ÷·³ Ȳ±Ý : °Ô½Ã¹° Àбâ |
|
  2002-05-27 (19:53:25) from 61.104.185.246 |
|
|
  ÀÛ¼ºÀÎ : HappyCGI |
Á¶È¸¼ö : 1743    |
|
Á¦¸ñ : ¿ÜºÎ¿¡ ÀÖ´Â ÆÄÀÏ»çÀÌÁî ¾Ë¾Æº¸±â |
ÇØÇÇCGI À±¿µ¿õÀÔ´Ï´Ù. ¾Æ·¡ Æã¼ÇÀ» ÀÌ¿ëÇغ¸¼¼¿ä. ^^
[php]<?php function remotefilesize($file) { // SETTINGS $max_file_size = "1000" // in bytes
// Open the file, but only read maximum size $fp = fopen($file, "r"); $first_file_size_read = fread($fp, $max_file_size); fclose($fp);
// Open the file plus one byte... // if there is an extra byte, then it is too big, $fp = fopen("$image", "r"); $second_file_size_read = fread($fp, $max_file_size + 1); fclose($fp);
// Check if they're the same if ($first_file_size_read == $second_file_size_read) { $file_size_ok == "yes"; } } ?>[/php]
HappyCGI's SIGN
| °³¹ßÀÚÀÇ ¹Ì´öÀº
°ÔÀ¸¸§(Laziness) ÂüÁö¸»±â(Impatience) ±³¸¸(Hubris) |
|
|
|
¸Þ¸ð |
|
³²°ÜÁø ¸Þ¸ð°¡ ¾ø½À´Ï´Ù.
|
|
   |
  |
|
¨Ô |
Á¦¸ñ |
ÀÛ¼ºÀÎ |
Á¶È¸ |
µî·ÏÀÏ |
|
|
¿ÜºÎ¿¡ ÀÖ´Â ÆÄÀÏ»çÀÌÁî ¾Ë¾Æº¸±â |
HappyCGI |
1744 |
2002-05-27 |
|
  |
|
|