½ÃÀÛÆäÀÌÁö·Î Áñ°Üã±âÃß°¡
·Î±×ÀÎ
ȸ¿ø°¡ÀÔ l Ã⼮üũ l ¸¶ÀÌÆäÀÌÁö l CGIMALL
ÀÚ·á½Ç »çÀÌÆ®µî·Ï ·©Å·100 ÇÁ·Î±×·¥¸®ºä °ü¸®ÀÚÃßõÀÚ·á Ãʺ¸°¡À̵å
Ä¿¹Â´ÏƼ
Àüü ÆîÃ帱â
Äü¸Þ´º¸µÅ© jquery , CSS , PHP , Javascript , ¹«·áÆùÆ® , ASP
»ó¼¼°Ë»ö
Ȩ > Ä¿¹Â´ÏƼ > Áú¹®°ú´äº¯ »ó¼¼º¸±â
Ä¿¹Â´ÏƼ ±¸Àα¸Á÷
»çÀÌÆ®µî·Ï
Ŭ¶ó¿ìµåű×
Javascript
PHP
asp
CSS
html
mysql
jquery
image
Mobile
API
slide
°Ô½ÃÆÇ
¸Þ´º
ÇöÀçÁ¢¼ÓÀÚ ¸í »õ·Î°íħ
°Ô½ÃÆÇŸÀÌƲ Áú¹®°ú´äº¯ / »ó¼¼º¸±â
Æ®À§ÅÍ·Î º¸³»±â
Ãßõ¼ö 181 | Á¶È¸¼ö 2,274 | µî·ÏÀÏ 2007-08-27 18:22:13

´Ð³×ÀÓ

°Ë¹«Ç÷½Å

À̸ÞÀÏ

twoblade16@yahoo.co.kr

Á¦¸ñ

[´äº¯]
³»¿ë

¹«½¼ ¾ð¾î·Î ¿øÇϽôÂÁö ¸ô¶ó PHP·Î ¿Ã¸³´Ï´Ù.
¿øÇϽô´ë·Î °¡°øÇؼ­ ¾²½É µÇ°Ú³×¿ä^^


[ÇÁ·Î±×·¥ÄÚµå]


 function filelist( $folder, $filename )
 {
  $temp = array();
  if ($handle = opendir("$folder")) {
   while (false !== ($file = readdir($handle))) {
    if ($file != "." && $file != "..") {
     $temp[] = $file;
    }
   }
   closedir($handle);
  }
  sort($temp);

  $filename = explode(",", $filename);
  $max  = sizeof($filename);
  $count=0

  foreach ($temp as $value)
  {
   for ( $i=0 ; $i<$max ; $i++ )
   {
    if ( eregi($filename[$i],$value) ){
     echo $value."<br>";
     $count++;
    }
   }
  }
  return $count;
 }

$chk = filelist("abc","88");
if ( $chk == 0 )
 echo "999.jpg";


Ãßõ½ºÅ©·¦¼Ò½ºº¸±â ¸ñ·Ï
ÀÌÀü°Ô½Ã±Û "abc"¶ó´Â Æú´õ³»ÀÇ "88"ÀÌ µé¾î°¡ ÀÖ´Â À̹ÌÁö ÆÄÀÏ .. 2007-08-18 16:38:33
´ÙÀ½°Ô½Ã±Û µµ¿ÍÁÖ¼¼¿ä!!!! 2007-08-30 16:44:56