+ -
当前位置:首页 → 问答吧 → fckeditor上传图片问题

fckeditor上传图片问题

时间:2010-10-07

来源:互联网

我用fckeditor上传图片,把图片放在fckeditor编辑框然后点击提交按钮,要像一般的上传图片一样把图片上传到指定的文件夹内该怎么弄啊,有回答的请说详细点在这儿先谢过了。

作者: 岚色   发布时间: 2010-10-07

朋友,你试一下,这个看行不行。
fckeditor2\editor\filemanager\connectors\php\config.php这个文件。里页改成
复制代码
  1. global $Config ;
  2. // SECURITY: You must explicitly enable this "connector". (Set it to "true").
  3. // WARNING: don't just set "$Config['Enabled'] = true ;", you must be sure that only
  4. //        authenticated users can access this file or use some kind of session checking.
  5. $Config['Enabled'] = true ;
  6. // Path to user files relative to the document root.
  7. $Config['UserFilesPath'] = '/2010/chinaunicom/userfiles/' ; //引号里是你的路径
  8. // Fill the following value it you prefer to specify the absolute path for the
  9. // user files directory. Useful if you are using a virtual directory, symbolic
  10. // link or alias. Examples: 'C:\\MySite\\userfiles\\' or '/root/mysite/userfiles/'.
  11. // Attention: The above 'UserFilesPath' must point to the same directory.

作者: qzw   发布时间: 2010-10-08