PHP'de Dosyaları Kaydetmek

Aspose.Cells - Excel Dosyalarını Kaydet

Yoldan Açma

Microsoft Excel dosyasını dosyanın yoluna başvurarak kaydetme

PHP Kodu

         $dataDir = '';

        // Create Aspose.Cells Helper Object

        $ptr = new \COM('Aspose.Cells.Interop.InteropHelper');

        // Opening through Path

        // Creating a Workbook object and opening an Excel file using its file path

        $workbook = $ptr->New("Aspose.Cells.Workbook",array());

        //Your Code goes here for any workbook related operations

        $ptr->Call($workbook,"Save",array($dataDir.'/book1.xls'));

        print "File saved successfully!" . PHP_EOL;

Çalışan Kodu İndir

İndirmek**Dosyaları Kaydetme (Aspose.Cells)**aşağıda belirtilen sosyal kodlama sitelerinin herhangi birinden: