Saving without User Interaction

Topics: Developer Forum, User Forum
Nov 15, 2010 at 3:27 PM

Hello All,

Is there any way to save PDF files to disk without user interaction (ie. the Save Windows appearing)?

Thanks in advance for any help.

 

Coordinator
Nov 15, 2010 at 5:04 PM

This is nothing directly to do with PHPExcel, but all about headers() and how a client browser responds to the response headers. Generally speaking, it can't be done because you would need to specify where the file should be saved on the user's PC, although some browsers or browser plug-ins will provide a default location for saved files.