| version 1.4, 2002/10/16 21:19:21 |
version 1.5, 2002/11/02 13:09:21 |
|
|
| <!-- $Platon: usage.sgml,v 1.3 2002/07/21 22:43:52 nepto Exp $ --> |
<!-- $Platon: phpWebFileManager/doc/sgml/usage.sgml,v 1.4 2002/10/16 21:19:21 nepto Exp $ --> |
| |
|
| <chapter id="usage"> |
<chapter id="usage"> |
| <title>Usage</title> |
<title>Usage</title> |
| Line 49 or you want to include it in some bigger |
|
| Line 49 or you want to include it in some bigger |
|
| <para> |
<para> |
| |
|
| If you want to use it as an standalone application, edit the config file |
If you want to use it as an standalone application, edit the config file |
| and ignore <varname>$phpWebFileManager_ORIGINAL_VARIABLES</varname> |
and ignore <varname>$fm_cfg['origvars']</varname> |
| variable. |
variable. |
| |
|
| </para> |
</para> |
| Line 58 or you want to include it in some bigger |
|
| Line 58 or you want to include it in some bigger |
|
| <para> |
<para> |
| |
|
| If you want to use as a part of some bigger project, edit the config file |
If you want to use as a part of some bigger project, edit the config file |
| with focusing on <varname>$phpWebFileManager_ORIGINAL_VARIABLES</varname>. |
with focusing on <varname>$fm_cfg['origvars']</varname>. |
| &name; provides itself a lot of actions such as confirm of deletion |
&name; provides itself a lot of actions such as confirm of deletion |
| file and others. <varname>$phpWebFileManager_ORIGINAL_VARIABLES</varname> are |
file and others. <varname>$fm_cfg['origvars']</varname> are |
| variables, which will &name; keep, so each page reload will be |
variables, which will &name; keep, so each page reload will be |
| processed in right way by others components of your PHP script. |
processed in right way by others components of your PHP script. |
| |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| If <varname>$phpWebFileManager_ORIGINAL_VARIABLES</varname> is not a |
If <varname>$fm_cfg['origvars']</varname> is not a |
| constant, you can comment it out in config file and always set it in your main |
constant, you 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 |
| <filename>&name;.php</filename> file. |
<filename>&name;.php</filename> file. |
| Line 158 Since version 0.3 of &name; you can use |
|
| Line 158 Since version 0.3 of &name; you can use |
|
| <para> |
<para> |
| |
|
| The first one, <filename>auth.php</filename>, allows you to restrict |
The first one, <filename>auth.php</filename>, allows you to restrict |
| access to phpWebFileManager script using HTTP authentication. Refer to that file |
access to &name; script using HTTP authentication. Refer to that file |
| for more information. You have to edit |
for more information. You have to edit |
| username and password in that file and set up (just uncomment) appropriate |
username and password in that file and set up (just uncomment) appropriate |
| <function>require_once</function> call in <filename>config.inc.php</filename> |
<function>require_once</function> call in <filename>config.inc.php</filename> |