I'm using PhpWord to save some data in Word format. The thing is that I need the user to select the place where it's needed to be saved. Right now I set it in the following way:
$objWriter = PHPWord_IOFactory::createWriter($PHPWord, 'Word2007');
$docName = '../../../files/generated_documents/document.docx';
$objWriter->save($docName);
Is there any way to make the user select the location to store the document?