# Delete a file.

    <?php
    # Delete a file.

    if (!defined('PHORUM')) return;

    require_once("./include/api/base.php");
    require_once("./include/api/file_storage.php");

    if (phorum_api_file_check_delete_access($file_id)) {
        phorum_api_file_delete($file_id);
    } else {
        die("Permission denied to delete file $file_id");
    }
    ?>

Documentation generated on Thu, 06 Dec 2007 10:45:34 -0600 by phpDocumentor 1.3.0RC5