浏览服务器时总是提示=>
Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php配置文件$Config['Enabled'] = true ;$Config['UserFilesPath'] = '/userfiles/' ;$Config['UserFilesAbsolutePath'] = '' ;
图片上传文件夹:userfiles ,放在网站根目录下在apache上没有问题,在iis 6\7上会出现问题
Sorry, can\'t map "UserFilesPath" to a physical path. You must set the "UserFilesAbsolutePath" value in "editor/filemanager/connectors/php/config.php配置文件$Config['Enabled'] = true ;$Config['UserFilesPath'] = '/userfiles/' ;$Config['UserFilesAbsolutePath'] = '' ;
图片上传文件夹:userfiles ,放在网站根目录下在apache上没有问题,在iis 6\7上会出现问题
解决方案 »
- 緊急求助!想知道有什麼範例/關鍵字與教學管理系統有關!感謝!
- 帮忙算下这个组合要多少空间?
- 关于Php源代码的问题!!!!
- 帮忙指导下我的编码风格
- 用socket如何编写下列http://211.100.115.37/lxd/liuyue.php?username=try2&password=060621&birth=19530528&length=70的HTTP协议的POST
- 用ewebeditor插入图片,提交后不正常显示
- 请教高高手。。。
- 以下语句是否正确呢?
- 菜鸟问题:PHP中的变量使用前一定得声明吗??
- 困了好久!数组问题
- 求教高手PHP 验证码的问题!!!!!!!!!
- 急,100分求救
$_SERVER['SCRIPT_FILENAME'] = str_replace('\\', '\\\\', $_SERVER['SCRIPT_FILENAME']);
$path = substr($_SERVER['SCRIPT_FILENAME'], 0, -1 * (strlen($_SERVER['SCRIPT_FILENAME']) - strrpos($_SERVER['SCRIPT_FILENAME'], '\\')));
$Config['UserFilesPath'] = $http_path.'/userfiles/' ;
$Config['UserFilesAbsolutePath'] = ((strpos($_SERVER["SERVER_SOFTWARE"], 'apache') === false) ?$path.'\\userfiles\\' : '') ;
$Config['UserFilesAbsolutePath'] = ''
填上绝对路径试