Phppowerpoint Save Location?

305 Views Asked by At

I successfully create a ppt file using phpPowerpoint..

how can I change the save location?I want to save the file to other folder

Thanks for any help!

1

There are 1 best solutions below

0
On BEST ANSWER

When you specify the filename in the call to save

$objPPTXWriter->save('filename.pptx');

simply specify a directory path as well

$objPPTXWriter->save('/path/to/my/directory/filename.pptx');