請問老師,我想直接調用XOOPS的帳號密碼,用普通PHP方法使用資料庫語法
引入
include("../../../include/cp_header.php");
echo XOOPS_DB_USER;
echo XOOPS_DB_NAME;
這樣都正常
所有SELECT語法也正常
但在修 新增修改刪除時
就會出現以下的錯誤訊息
改成絕對路徑也是一樣
請問老師這是怎麼了?
Warning: include(../../../include/cp_header.php) [function.include]: failed to open stream: No such
file or directory in D:\AppServ\www\modules\page_ad3\libs\db.php on line
2
Warning: include() [function.include]: Failed opening
'../../../include/cp_header.php' for inclusion (include_path='.;C:\php5\pear')
in D:\AppServ\www\modules\page_ad3\libs\db.php on line
2
Error:Can't connect to Database