ϲֳַ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

CIzipӦʾCIzipӦʾ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

ϲֳַCIzipӦʾ

ϲֳַCIzipӦʾCIzipӦʾCIzipӦʾ

CIzipӦʾ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

CIԴzipʵãľ˵һCIܵzipʹá

Ҫzipࣺ

ƴ :$this->load->('zip');

⣬ǿǵCIĽṹҪһԶ࣬zipؽȥҲõʱͳһءܾԶûмzipࡣ÷£

ƴ :$path = $_SERVER['DOCUMENT_ROOT'];//Ҫѹļ·$this->zip->read_dir($path,FALSE);//ʼѹָ·ļУĽṹ$this->zip->download('my_backup.zip');//ѹĵļ

ϲֳַ

һƪ

һƪ