privCloseFd example



      // ----- Read the central directory information       $v_central_dir = array();
      if (($v_result = $this->privReadEndCentralDir($v_central_dir)) != 1)
      {
        $this->privSwapBackMagicQuotes();
        return 0;
      }

      // ----- Close the zip file       $this->privCloseFd();

      // ----- Set the user attributes       $v_prop['comment'] = $v_central_dir['comment'];
      $v_prop['nb'] = $v_central_dir['entries'];
      $v_prop['status'] = 'ok';
    }

    // ----- Magic quotes trick     $this->privSwapBackMagicQuotes();

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