¾È³çÇϽʴϱî? HappyCGIÆÀ¿¡ whiteÀÔ´Ï´Ù.
ÆÄÀÏÀ» ¼öÁ¤ÇÏ½Ç ¶§´Â ÆÄÀÏÀ» ÀÐÀº ´ÙÀ½¿¡ ±×Àü¿¡ ¼öÁ¤½Ã °¡Áö°í ÀÖ´ø ¹øÈ£¸¦ $seek(±× ¶óÀÎÀÌ °íÀ¯ ¹øÈ£)·Î º¸³À´Ï´Ù. ±×·¡¼ ÀڷḦ Á× º¸´Ù°¡ ±× ¹øÈ£¿Í ÀÏÄ¡ÇÏ´Â ¶óÀÎÀ» ¸¸³ª¸é ¼öÁ¤ÇÏ´Â ³»¿ëÀ» Áý¾î ³Ö´Â ¼øÀ¸·Î ÇÏ¸é µË´Ï´Ù.
$okbe=fopen("ÆÄÀÏ°æ·Î","r"); $ok=fread($okbe,filesize("ÆÄÀÏ°æ·Î")); $mod_arr=explode("\n",$ok); fclose($okbe); $in = sizeof($mod_arr) - 1;
for ( $z=0; $z < $in ; $z++) {
if ( $mod_arr[$z] == $seek ) {
if ( $file == "none" ) { $arr2.=$a."|".$b."|".$enna."\n"; }else { copy( $file, "$path/$file_name" ); $arr2.=$a."|".$b."|"."/upload/".$file_name."\n"; unlink( $file); }
}else { $arr2 .= $mod_arr[$z]."\n"; }
} //¼öÁ¤ÈÄ ÆÄÀÏ ½á ÁÖ±â $ok2=fopen("./°æ·Î/ÆÄÀÏÀ̸§","w"); fwrite($ok2,$arr2); fclose($ok2); ¹°·Ð ´õ ½¬¿î ¹æ¹ýµµ ¸¹À» °Ì´Ï´Ù. Á¦°¡ Ãʱ⿡ § °Å¶ó¼... ´õÁÁÀº ÀÇ°ß ÀÖÀ¸½Ã¸é ¿Ã·ÁÁÖ¼¼¿ä. *^^*
±×·³ ÁÁÀº ÇÏ·ç µÇ¼¼¿ä.
|