| version 1.7, 2003/02/07 12:40:07 |
version 1.8, 2003/02/07 12:45:50 |
|
|
| <!-- $Platon: phpWebFileManager/doc/sgml/usage.sgml,v 1.6 2002/12/30 18:20:37 nepto Exp $ --> |
<!-- $Platon: phpWebFileManager/doc/sgml/usage.sgml,v 1.7 2003/02/07 12:40:07 nepto Exp $ --> |
| |
|
| <chapter id="usage"> |
<chapter id="usage"> |
| <title>Usage</title> |
<title>Usage</title> |
| Line 68 processed in right way by others compone |
|
| Line 68 processed in right way by others compone |
|
| If <varname>$fm_cfg['origvars']</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>index.php</filename> file of &name; project. |
| |
|
| </para> |
</para> |
| </listitem> |
</listitem> |
| Line 152 configuration file. |
|
| Line 152 configuration file. |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| The second one plugin called <filename>file.php</filename>. It allows you to |
The second plugin is called <filename>file.php</filename>. It allows you to |
| restrict access to View files. More information about usage of this plugin are |
restrict access to View files. More information about usage of this plugin are |
| in that file, where you may also need to edit location of |
in that file, where you may also need to edit location of |
| <filename>apache-mime.types</filename> file. |
<filename>apache-mime.types</filename> file. |
| Line 171 application, try to access &name; using |
|
| Line 171 application, try to access &name; using |
|
| </para> |
</para> |
| <para> |
<para> |
| |
|
| If you want to run it as a part of some other web application, write |
If you want to run it as a part of some other PHP web application, write |
| <function>include()</function> or <function>require()</function> command with |
<function>include()</function> or <function>require()</function> command with |
| path and filename to file <filename>&name;.php</filename> on the |
path and filename to the <filename>index.php</filename> file of &name; project |
| place, where you want to have file manager. |
on the place, where you want to have file manager. |
| |
|
| </para> |
</para> |
| </sect1> |
</sect1> |