Fatal error: Call to undefined function saddslashes() in
这是什么问题呀?求解!首页<?phprequire_once'./source/class/class_core.php';$core=&core::instance()...
这是什么问题呀?求解!
首页
<?php
require_once './source/class/class_core.php';
$core = & core::instance();
$core->init();
include template('index');
?>
class_core.php
include_once ROOT.'./source/function/function_core.php';
报错页面 function_core.php
function daddslashes(&$string) {
if(is_array($string)) {
foreach($string as $key => $val) {
$string[$key] = saddslashes($val);
}
} else {
$string = addslashes($string);
}
return $string;
} 展开
首页
<?php
require_once './source/class/class_core.php';
$core = & core::instance();
$core->init();
include template('index');
?>
class_core.php
include_once ROOT.'./source/function/function_core.php';
报错页面 function_core.php
function daddslashes(&$string) {
if(is_array($string)) {
foreach($string as $key => $val) {
$string[$key] = saddslashes($val);
}
} else {
$string = addslashes($string);
}
return $string;
} 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询