Spara filer i PHP
Contents
[
Hide
]
Aspose.Cells - Spara Excel-filer
Öppning genom sökväg
Spara en Microsoft Excel-fil genom att referera till filens sökväg
PHP-kod
$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;
Ladda ned körbar kod
Ladda ner Sparar filer (Aspose.Cells) från någon av de nedan nämnda sociala kodningssidorna: