Error[2]: fopen(C:\phpStudy\bbs/./tmp/model_form.func.php): failed to open stream: Invalid argument, File: C:\phpStudy\bbs\xiunophp\misc.func.php, Line: 980
File: C:\phpStudy\bbs\xiunophp\misc.func.php, Line: 980, fopen(C:\phpStudy\bbs/./tmp/model_form.func.php , wb)
File: C:\phpStudy\bbs\model\plugin.func.php, Line: 30, file_put_contents_try(C:\phpStudy\bbs/./tmp/model_form.func.php , lang('yes'), 0=>lang('no')), $checked); } function form_radio($name, $arr, $checked = 0) { empty($arr) && $arr = array(lang('no'), lang('yes')); $s = ''; foreach((array)$arr as $k=>$v) { $add = $k == $checked ? ' checked="checked"' : ''; $s .= "   \r\n"; } return $s; } function form_checkbox($name, $checked = 0, $txt = '', $val = 1) { $add = $checked ? ' checked="checked"' : ''; $s = ""; return $s; } /* form_multi_checkbox('cateid[]', array('value1'=>'text1', 'value2'=>'text2', 'value3'=>'text3'), array('value1', 'value2')); */ function form_multi_checkbox($name, $arr, $checked = array()) { $s = ''; foreach($arr as $value=>$text) { $ischecked = in_array($value, $checked); $s .= form_checkbox($name, $ischecked, $text, $value); } return $s; } function form_select($name, $arr, $checked = 0, $id = TRUE) { if(empty($arr)) return ''; $idadd = $id === TRUE ? "id=\"$name\"" : ($id ? "id=\"$id\"" : ''); $s = " \r\n"; return $s; } function form_options($arr, $checked = 0) { $s = ''; foreach((array)$arr as $k=>$v) { $add = $k == $checked ? ' selected="selected"' : ''; $s .= " \r\n"; } return $s; } function form_text($name, $value, $width = FALSE, $holdplacer = '') { $style = ''; if($width !== FALSE) { is_numeric($width) AND $width .= 'px'; $style = " style=\"width: $width\""; } $s = ""; return $s; } function form_hidden($name, $value) { $s = ""; return $s; } function form_textarea($name, $value, $width = FALSE, $height = FALSE) { $style = ''; if($width !== FALSE) { is_numeric($width) AND $width .= 'px'; is_numeric($height) AND $height .= 'px'; $style = " style=\"width: $width; height: $height; \""; } $s = ""; return $s; } function form_password($name, $value, $width = FALSE) { $style = ''; if($width !== FALSE) { is_numeric($width) AND $width .= 'px'; $style = " style=\"width: $width\""; } $s = ""; return $s; } function form_time($name, $value, $width = FALSE) { $style = ''; if($width !== FALSE) { is_numeric($width) AND $width .= 'px'; $style = " style=\"width: $width\""; } $s = ""; return $s; } /**用法 echo form_radio_yes_no('radio1', 0); echo form_checkbox('aaa', array('无', '有'), 0); echo form_radio_yes_no('aaa', 0); echo form_radio('aaa', array('无', '有'), 0); echo form_radio('aaa', array('a'=>'aaa', 'b'=>'bbb', 'c'=>'ccc', ), 'b'); echo form_select('aaa', array('a'=>'aaa', 'b'=>'bbb', 'c'=>'ccc', ), 'a'); */ ?>)
File: C:\phpStudy\bbs\tmp\model.inc.php, Line: 39, _include(C:\phpStudy\bbs/model/form.func.php)
File: C:\phpStudy\bbs\index.php, Line: 51, include(C:\phpStudy\bbs\tmp\model.inc.php)
Error[2]: Cannot modify header information - headers already sent by (output started at C:\phpStudy\bbs\xiunophp\misc.func.php:50), File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 69
File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 69, setcookie(cookie_test , dsvEpfscl8DLO5pS4k7Q7DTt5AV9D_2B0WlTL_2BRdCfH9eqGsbT , 1773032066 , )
File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 41, sess_new(covmj2pkbu096ssvr2uapn9mn3)
File: , Line: , sess_read(covmj2pkbu096ssvr2uapn9mn3)
File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 210, session_start()
File: C:\phpStudy\bbs\tmp\index.inc.php, Line: 7, sess_start()
File: C:\phpStudy\bbs\index.php, Line: 52, include(C:\phpStudy\bbs\tmp\index.inc.php)
Error[2]: session_start(): Cannot send session cookie - headers already sent by (output started at C:\phpStudy\bbs\xiunophp\misc.func.php:50), File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 210
File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 210, session_start()
File: C:\phpStudy\bbs\tmp\index.inc.php, Line: 7, sess_start()
File: C:\phpStudy\bbs\index.php, Line: 52, include(C:\phpStudy\bbs\tmp\index.inc.php)
Error[2]: session_start(): Cannot send session cache limiter - headers already sent (output started at C:\phpStudy\bbs\xiunophp\misc.func.php:50), File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 210
File: C:\phpStudy\bbs\tmp\model_session.func.php, Line: 210, session_start()
File: C:\phpStudy\bbs\tmp\index.inc.php, Line: 7, sess_start()
File: C:\phpStudy\bbs\index.php, Line: 52, include(C:\phpStudy\bbs\tmp\index.inc.php)
修车车
影子论坛 测试
发新帖
修车车
交流讨论

Processed Time:3.5778019428253