`
lemo
  • 浏览: 89127 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

eXtplorer的使用

阅读更多

在做的一个项目中需要用到FTP的文件上传功能,组长给我推荐了一款开源项目叫eXtplorer,它是一个用php写的ftp上传组件,前台用的是ExtJS,正合和我们这个项目的风格匹配,于是就down下来折腾了一把http://extplorer.sourceforge.net/

1.环境搭建:

下载php5.X ,apache 2.0.X,这里要注意下php和apache的版本问题,我之有没用过php,所以刚开始配置时总是不成功,最后google了下原为是版本问题,至于php和apache的搭建方法,网上资料很多的,有兴趣的朋友可以去查一下。

2.标准的ext界面:



3.登录后,它有两种模式,file模式和ftp模式

  这里主要讨论下ftp模式的用法:

首先是ftp模式下的目录设置,按照它的安装文档上说的,必须在ftp服务器上建立一个explorer文件夹,然后在建一个子文件夹也叫explorer,我试过许多次,确实要严格按照文档上的操作,不然就上传不成功,也或者是我操作的方法不对,有使用过的朋友可以指点下。

4.相应修改源码

 大家可以去找一下eclipse的php的插件,netbeans也有一个php的开发环境,25M左右

 对于一个商业软件,你的用户肯定不希望在系统中看到第三方的logo,所有extplorer里的一些不必要的图片,和按钮是你首先要去掉的 对应的文件在"D:\Apache2\htdocs\eXtplorer\scripts\application.js.php"里,这个页面里包含了几乎全部的在页面显示的按钮和图片,可以根据你的需要做适当的修改。

5.上传到ftp后无法删除的问题

 我在使用中发现extplorer的权限分配功能不是很好使,分配的权限不起什么作用,文件上传后无法删除,没办法看了下源码:"D:\Apache2\htdocs\eXtplorer\include\delete.php",发现是它本身路径问题没处理好的问题,当然也有可能是我的操作方法不对,欢迎大家一起讨论,我的解决办法有点撮,$dir = "E://".$dir; 手动指定ftp上传的根目录。

6.中文文题

 这个问题几乎在开发所有的中文软件中都会遇到的一个问题,还好extplorer对国际化支持的比较好,它有一个文件夹叫languages,里面包含了许多国家的国际化文件,我们这里用到的当然是simplified_chinese.php,大伙可以根据需要对里面的键值做相应的修改.

  但是,也是我现在还没解决的一个问题, 文件上传到ftp服务器后,在extplorer的页面中显示正常,在ftp服务器上却显示乱码,我以前commons-net-ftp-2.0写上传文件时也碰到过这个问题,字符编码的问题,可惜我对php不熟,解决结果明天传上来。

 

今天先到这,希望和有兴趣的朋友一起讨论下extplorer的使用。

 

分享到:
评论
2 楼 jacky78 2012-05-04  
我是交叉编译apache2.2.9 + PHP5.4 后放在ARM上运行,当windows7上用IE打卡
http://192.168.1.136:8080/extplorer ,就看如下:

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php on line 82

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/index.php on line 51

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/index.php on line 52

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/index.php on line 53

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/index.php on line 54

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/index.php on line 55

Strict Standards: Non-static method ext_Lang::detect_lang() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/include/init.php on line 101
?
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/include/login.php on line 105

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /usr/local/apache-arm/htdocs/extplorer/libraries/standalone.php:82) in /usr/local/apache-arm/htdocs/extplorer/include/login.php on line 105

Strict Standards: Non-static method ext_Lang::msg() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/include/login.php on line 107

Strict Standards: Non-static method ext_Lang::_get() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/application.php on line 64

Strict Standards: Non-static method ext_Result::init() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/admin.extplorer.php on line 97

Strict Standards: Non-static method ext_Result::empty_errors() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/include/result.class.php on line 40

Strict Standards: Non-static method ext_Result::empty_messages() should not be called statically in /usr/local/apache-arm/htdocs/extplorer/include/result.class.php on line 41
1 楼 xiao_dou 2011-02-26  
你好,我有一个问题希望你能帮我解答一下啊。谢谢
我将extplorer的所有文档放在了apache的htdocs下面的extplorer文件夹下(apache和Php的配置已经正确),但是当我在输入http://localhost/extplorer后,没有看到extplorer的主页面,只是看到了extplorer的所有文件目录,如下:
Parent Directory
CHANGELOG.txt
LICENSE_GPL.txt
LICENSE_MPL.txt
README.txt
admin.extplorer.php
application.php
config/
configuration.ext.php
copyright
d.php
eXtplorer.ico
extplorer.init.php
extplorer.j15.xml
extplorer.list.php
extplorer.php
extplorer.xml
fetchscript.php
ftp_tmp/
images/
include/
index.php
install.extplorer.php
languages/
libraries/
script.php
scripts/
style/
uploadhandler.php
webdav.php
webdav_authenticate.php
webdav_table.sql.php

相关推荐

    eXtplorer_2.0.1

    eXtplorer_2.0.1

    eXtplorer_2.0.0.zip

    eXtplorer is based on ...the LGPL are not compliant to each other, you are not allowed to use the ExtJS library in eXtplorer if you decide to use and/or distribute eXtplorer under the terms of the MPL.

    Extplorer for Drupal 7:eXtplorer是一个基于Web的文件管理组件,可以满足您的所有需求。-开源

    eXtplorer是一个基于Web的文件管理组件,可以满足您的所有需求。 它具有类似于桌面应用程序的界面,具有拖放,网格和目录树,并且大量使用了Sencha ExtJS Javascript库。 您可以使用它通过FTP或直接文件访问来访问和...

    eXtplorer File Manager-开源

    eXtplorer是一个基于PHP的文件管理器。 它允许浏览目录,编辑,复制,移动,删除,搜索,上传和下载文件,创建和提取档案,创建新文件和目录,更改文件权限(chmod)等。

    11款基于Javascript的文件管理器

    1. eXtplorer eXtplorer是一个基于PHP与ExtJS开发的文件管理器。你可以用它浏览服务器上的文件与目录。编辑,复制,移动,删除文件。搜索,上传和删除文件。创建新的文件和目录。改变文件的权限属性。 2. Control....

    quantummanager:Joomla的革命性文件和媒体管理器! 内容管理系统

    量子经理 Joomla的文件管理器! 栏目 描述 Joomla的免费文件管理器!... 使用带有文件树的Codemirror编辑文本文件,可以使用该树切换到其他文件 简单的音频播放器,用于播放音频 覆盖默认管理器 已创建一个插件

    四个不错的ajax文件管理器

    kfm fileNice eXtplorer_2.0.1 ft2-2.5.7.php 感觉不错,可以学习一下,做一个自己的出来。

    基于extjs+php的extploer程序

    本资源涵盖了所有实现extplorer程序的所有代码,能够实现文件的浏览,查询,上传等!可以参考一下!

    PocketVJ:PocketVJ控制面板

    将index.php放入Web目录,然后放入sync和extplorer文件夹。 如果要按此处所述进行更新: : 确保将未压缩的文件夹重命名为www 链接到depencies文件: 仅当您使用omxplayer-sync 脚本时,此文件才有用。 阅读...

    joomla附件组件

    八、文件上传下载组件:eXtplorer_2.0.1 九、文章附件组件:attachments_component_v1.3.3_chinese 十、站点地图:Xmap_1.2.6 十一、Google搜索模块:Google adsense search for J1.5 十二、公告显示模块:...

    web-fuzz-wordlists:常见的Web管理器模糊词表

    extplorer( ) FileGator( ) fileNice( ) FileRun( ) kloudspeaker( ) phpFileManager( , ) PHPfileNavigator( http://pfn.sourceforge.net/ ) phpLDAPadmin( ...

    ASCOOS Web Server-开源

    它基于Apache,NGINX,Subversion for Apache,Perl,PHP和MySQL的多个版本,PostgreSQL,MongoDB,SQLite,Filezilla FTP Server,memcached,phMyAdmin ,phpPgAdmin,eXtplorer,螳螂等...支持Mikrotik RouterOS ...

Global site tag (gtag.js) - Google Analytics