| version 1.2, 2002/04/07 18:11:59 |
version 1.3, 2002/04/21 23:37:22 |
|
|
| |
|
| phpWebFileManager |
phpWebFileManager |
| |
|
| simple file management PHP script designed for including into large projects |
file management PHP script designed for including into large projects |
| |
|
| Ondrej 'Nepto' Jombik |
Ondrej 'Nepto' Jombik |
| |
|
| Copyright © 2000, 2001 by Ondrej 'Nepto' Jombik |
Copyright © 2001, 2002 by Ondrej 'Nepto' Jombik |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Table of Contents |
Table of Contents |
| Line 20 Ondrej 'Nepto' Jombik |
|
| Line 20 Ondrej 'Nepto' Jombik |
|
| |
|
| Installation |
Installation |
| Configuration |
Configuration |
| |
|
| |
Original variables property |
| |
Other properties |
| |
File upload |
| |
PostNuke compatibility |
| |
|
| Running |
Running |
| Security notes |
Security notes |
| |
|
| Line 35 Chapter 1. Introduction |
|
| Line 41 Chapter 1. Introduction |
|
| |
|
| Overview |
Overview |
| |
|
| phpWebFileManager is simple file management PHP tool. It is designed |
phpWebFileManager is file management PHP tool. It is designed for |
| for including in large projects using include() or similar function. |
including in large projects using appropriate PHP mechanisms (in |
| |
example include() or similar function). |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Features |
Features |
|
|
| * directory creating, renaming and removing |
* directory creating, renaming and removing |
| * file creating, uploading, renaming, deleting and viewing |
* file creating, uploading, renaming, deleting and viewing |
| * huge configuration ability to allow/deny appropriate actions |
* huge configuration ability to allow/deny appropriate actions |
| |
* PostNuke Rogue add-on compatibility |
| * multilanguage support |
* multilanguage support |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Requirements |
Requirements |
| |
|
| phpWebFileManager requires PHP interpreter without any special |
phpWebFileManager requires PHP interpreter without any special |
| modules. It is developed with with PHP 4.10.0, but it should work also |
modules. It is developed with with PHP 4.10.0. Although I haven't |
| with another versions of PHP, even PHP 3.x.x. |
tested it, it should work also with another versions of PHP, even PHP |
| |
3.x.x. Please notice me about particular compatibility capabilities. |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Supported clients |
Supported clients |
| |
|
| MSIE, NN, Lynx and all others HTML compliants clients are supported. |
Netscape Navigator, Opera, Mozilla, Konqueror, Microsoft Internet |
| No Javascript is used. |
Explorer, Lynx, Links and all others HTML compliant clients are |
| |
supported. Nor Javascript nor other forms of client side scripting are |
| |
used. |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Chapter 2. Usage |
Chapter 2. Usage |
|
|
| |
|
| Configuration |
Configuration |
| |
|
| Edit variables in config.inc.php file. |
Configuration variables are located in config.inc.php file. |
| |
_________________________________________________________________ |
| |
|
| |
Original variables property |
| |
|
| Determine if you want to use phpWebFileManager as a standalone Web |
Determine if you want to use phpWebFileManager as a standalone Web |
| application or you want to include it in some bigger project. |
application or you want to include it in some bigger project. |
| |
|
|
|
| can comment it out in config file and always set it in your main |
can comment it out in config file and always set it in your main |
| program to the right value before doing command which will include |
program to the right value before doing command which will include |
| phpWebFileManager.php file. |
phpWebFileManager.php file. |
| |
_________________________________________________________________ |
| |
|
| |
Other properties |
| |
|
| |
Than edit others variables in config file. More information about |
| |
every specific variable are described in config.inc.php file. |
| |
_________________________________________________________________ |
| |
|
| |
File upload |
| |
|
| If you want to provide file uploading, you must create world writeable |
If you want to provide file uploading, you must create world writeable |
| directory. Imagine that it is directory upload/, so than run command |
directory. Imagine that it is directory upload/, so than run command |
| |
|
| chmod o+w upload/ |
chmod o+w upload/ |
| |
|
| to make it world writeable. |
to make it world writeable. |
| |
_________________________________________________________________ |
| |
|
| Than edit others variables in config file. More information about |
PostNuke compatibility |
| every specific variable are described in config.inc.php file. |
|
| |
Since version 0.2.2 phpWebFileManager has an ability to act as a |
| |
PostNuke Rogue module (add-on). |
| |
|
| |
Simply copy the directory into modules/ subdirectory of your PostNuke |
| |
installation. Than log into administration and in subsection Modules |
| |
regenerate module list. You can than initialize and activate |
| |
phpWebFileManager module and if you like, make it accessible through |
| |
some block and so on. |
| |
|
| |
You might want also use some of security features of PostNuke. If you |
| |
choose to have phpWebFileManager menu entry visible only for trusted |
| |
user with admin rights, go to the administration subsection |
| |
Permissions and make appropriate changes. |
| |
|
| |
PostNuke specific configuration is overriden in init.inc.php file. |
| |
Note, that currently none from allow/deny file management actions |
| |
features are used. This will probably change soon, when someone from |
| |
the PostNuke community help me with setting up particular rights |
| |
according to internal PostNuke user information. |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Running |
Running |
|
|
| |
|
| Security notes |
Security notes |
| |
|
| If you want to secure phpWebFileManager put security stuff commands or |
If you want to secure phpWebFileManager, put security stuff commands |
| include() command to security stuff script at the beginning of config |
or include() command to security stuff script at the beginning of |
| file. |
config file. That file is loaded by init.inc.php at the beggining of |
| |
script execution. |
| _________________________________________________________________ |
_________________________________________________________________ |
| |
|
| Chapter 3. Other information |
Chapter 3. Other information |
| Line 175 Author and homepage |
|
| Line 219 Author and homepage |
|
| |
|
| Version history |
Version history |
| |
|
| Current version is 0.2.1 and it was released in 25th March 2002. |
Current version is 0.2.2 and it was released in 21st April 2002. |
| |
|
| |
version 0.2.2, April 21, 2002 |
| |
|
| |
* fixed PostNuke port, init.inc.php file created for initialization |
| |
* new subdirectory lib/ created for phpPlatonLib functions, |
| |
url_utils.lib.php file removed |
| |
* various documentation update, Ken Kizaki's PN-MODULE-HOWTO added |
| |
to distribution |
| |
|
| |
Changes by Rastislav 'Rider' Rihak <rider@lonestar.sk>: |
| |
|
| |
* PostNuke Rogue port |
| |
* new multilanguage support system |
| |
* startup redirection file index.php removed |
| |
|
| version 0.2.1, March 25, 2002 |
version 0.2.1, March 25, 2002 |
| |
|
| * ability to overide date format in config file |
* ability to overide date format in config file |