日期:2013-04-24  浏览次数:20577 次

  • <?
    //====================================================
    //                FileName:download.class.php
    //                Summary: 文件下载类
    //                Author: feifengxlq
    //      Email:feifengxlq@sohu.com
    //                CreateTime: 2005-7-19     
    //                LastModifed:
    //                copyright (c)2005 xlq.100steps.net  feifengxlq@sohu.com
    //   使用范例:
    // $download=new download('php,exe,html',false);
    //  if(!$download->downloadfile($filename))
    //  {
    //    echo $download->geterrormsg();
    //  }      
    //====================================================
    class download{
      var $debug=true;
      var $errormsg='';
      var $Filter=array();
      var $filename='';
      var $mineType='text/plain';
      var $xlq_filetype=array(