如果我在簡單文件中使用,類zip完美地工作,但在類如下的類中,我有一個錯誤。我忘了什麼? 如何解決這個問題? 謝謝。 Fatal error: Uncaught Error: Class 'Zip' not found in /home/www/boutique/includes/Apps/WebService/ChatBot/Sites/Admin/Pages/Home/Actions/Chat
我使用zioutpoustream創建zip文件,但是當我打開zip文件時,它首先顯示根路徑,如D:LocalDisk,而不是壓縮文件夾。 這是我創造的郵政編碼 public void StartZip(string directory, string zipfile_path)
{
// the directory you need to zip
DirectoryInfo