hi,all
I will covert Excel file to XML ,so i user Excel COM object Functions ,Here is My Example codes :
//code start ******
$excel_id = new COM("Excel.Application");
$wkb = $excel_id->Workbooks->Open("C:\web\excel\file\temp.xls") or Die ("Did not open");
$excel_id->ActiveWorkbook->SaveAs("C:\web\excel\file\temp.xml",46); //46 is FileFormat:=xlXMLSpreadsheet
$excel_id->ActiveWorkbook->Close("False");
$excel_id->Close;
unset ($excel_id);
// code End ******
but code run and my web brower die , i donn't konw where is my error,please help me and i fuss