조회 : 60
function ck_exp_arch_board_gallery($poi)
{
$arr_exp = array('jpg','gif','png');
$str_exp = strtolower(substr(strrchr($poi, "."), 1));
$result = array_search ( $str_exp, $arr_exp);
if($result > -1) { return true; }
else{ return false; }
return false;
}
// $result = ck_exp_arch_board_gallery($파일);