Skip to content

How to view it in browser insetad of downloading it #472

@NovicePHP

Description

@NovicePHP

Hello Team,

I don't have write access on the server folder and so am unable to create the ppt. The below Piece of code wites the ppt and stores it in the root directory.

$oWriterPPTX->save(DIR . "/sample.pptx");

Is there something that I can download it from the browser just like we use it for mpdf.

$mpdf->Output($filename. '.pdf', 'I');

I was struck in a point on how to download the ppt from the browser instead of downloading automatically into the root folder.

Any help on this is much more appreciated!!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions