privCalculateStoredFilename example

// ----- Missing file       else {
        // ----- Error log         PclZip::privErrorLog(PCLZIP_ERR_MISSING_FILE, "File '".$v_descr['filename']."' does not exist");

        // ----- Return         return PclZip::errorCode();
      }

      // ----- Calculate the stored filename       $this->privCalculateStoredFilename($v_descr$p_options);

      // ----- Add the descriptor in result list       $v_result_list[sizeof($v_result_list)] = $v_descr;

      // ----- Look for folder       if ($v_descr['type'] == 'folder') {
        // ----- List of items in folder         $v_dirlist_descr = array();
        $v_dirlist_nb = 0;
        if ($v_folder_handler = @opendir($v_descr['filename'])) {
          while (($v_item_handler = @readdir($v_folder_handler)) !== false) {

            
Home | Imprint | This part of the site doesn't use cookies.