as for excel as shown below is there a way to create MS Project file too?
Code: Select all
<?php
// create an object instance
$excel = new COM("Excel.Application") or die("Project could not be started");
// pop open the Excel application
$excel->Visible = 1;
// turn off alerts
$excel->DisplayAlerts = 0;
// add a workbook
$excel->Workbooks->Add();
// save
$excel->Workbooks[1]->SaveAs("C:\\Inventory1.xls");
// close the application
$excel->Quit();
$excel = null;
?>