A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
Try the following:
- Remove the line that attempts to make PowerPoint visible:
$ppApp->Visible = true; // remove this line.
- Change the line after Open Document comment to the following:
$MyPres = $ppApp->Presentations->Open(realpath($ppName),false,false,true);
- Change the line after Save Document comment to the following:
$MyPres->SaveAs($strPath,17);
Also, see if you can start PowerPoint.Application only once rather than for every presentation uploaded. Similarly, don't quit the instance every time.
- Chirag
<edited by the moderator>