$val) { if(is_array($_POST[$key])) { foreach($_POST[$key] as $array_key => $array_val) { $FORM[$key][$array_key] = $array_val; }//while } else { $FORM[$key] = $val; } } foreach($_GET as $key => $val) { $FORM[$key] = $val; } //HTTP_POST_FILES if(!isset($HTTP_POST_FILES)) { $HTTP_POST_FILES = array(); } foreach($HTTP_POST_FILES as $key => $val) { $Va[$key] = $val; } $FORM['last_dirname'] = basename(dirname(__FILE__)); $s->kikaku_detail($FORM); ?>