dokeos-document
[ class tree: dokeos-document ] [ index: dokeos-document ] [ all elements ]

Procedural File: upload.php

Source Location: /main/document/upload.php



Page Details:

Main script for the documents tool

This script allows the user to manage files and directories on a remote http server.

The user can : - navigate through files and directories.

  • upload a file
  • delete, copy a file or a directory
  • edit properties & content (name, comments, html content)
The script is organised in four sections.

1) Execute the command called by the user Note: somme commands of this section are organised in two steps. The script always begins with the second step, so it allows to return more easily to the first step.

Note (March 2004) some editing functions (renaming, commenting) are moved to a separate page, edit_document.php. This is also where xml and other stuff should be added.

2) Define the directory to display

3) Read files and directories from the directory defined in part 2 4) Display all of that on an HTML page




Tags:

todo:  eliminate code duplication between document/document.php, scormdocument.php


Includes:

include("../inc/global.inc.php") [line 70]
Main script for the documents tool

This script allows the user to manage files and directories on a remote http server.

The user can : - navigate through files and directories.

  • upload a file
  • delete, copy a file or a directory
  • edit properties & content (name, comments, html content)
The script is organised in four sections.

1) Execute the command called by the user Note: somme commands of this section are organised in two steps. The script always begins with the second step, so it allows to return more easily to the first step.

Note (March 2004) some editing functions (renaming, commenting) are moved to a separate page, edit_document.php. This is also where xml and other stuff should be added.

2) Define the directory to display

3) Read files and directories from the directory defined in part 2 4) Display all of that on an HTML page




Tags:

todo:  eliminate code duplication between document/document.php, scormdocument.php
include('document.inc.php') [line 71]
include(api_get_path(LIBRARY_PATH).'pclzip/pclzip.lib.php') [line 175]
include_once(groupmanager.lib.php) [line 108]
include_once(events.lib.inc.php) [line 157]
include_once(document.lib.php) [line 158]
include_once(fileUpload.lib.php) [line 156]
require_once(api_get_path(LIBRARY_PATH).'formvalidator/FormValidator.class.php') [line 319]






Documentation generated on Wed, 05 Sep 2007 06:15:13 +0200 by phpDocumentor 1.4.0