# 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 Tue, 31 Jul 2007 15:27:16 -0500 by phpDocumentor 1.3.0RC5