php5
金牌会员
 
中级会员
UID 62897
精华
0
积分 1240
帖子 1092
金钱 1240 喜悦币
威望 0
人脉 0
阅读权限 70
注册 2005-1-3 来自 福建
状态 离线
|
[推荐阅读] 用 opendir() 函数打不开远程目录
QUOTE: 原帖由 zeying 于 2006-6-8 11:39 AM 发表
$dr = $_SERVER.$file_path;
define('D_R',$dr);
我一般这么干 嗯,搞定了,关健是路径我设置在 顶级的 config.php 中
我在/admin/a_config.php 中的
include('../config.php'); 改成这样 include(dirname(__FILE__).'/../config.php');
就可以了,谢谢
|
|