Quantcast
Channel: ExeOutput for PHP - G.D.G. Software Forum
Viewing all articles
Browse latest Browse all 1024

Download docx file not working

$
0
0

@infinets wrote:

for now i am using trial version of once everything goes well I am going to buy license

function SaveDlgWord: String;
begin
// Asks for filename
Result := SaveFileDialog("Save File As", ".docx", ".docx", "", "");

// Returns blank string if user cancels the dialog.

end;

In my php I am using PHPWord() to create word file

$filename = exo_return_hescriptcom("UserMain.SaveDlgWord", "Error");
$document->save($file_url);

this is my php code, I am getting "call to undefined function exo_return_hescriptcom
when I click on export button

i have other file download script which is also giving same error -

$filename = exo_return_hescriptcom("UserMain.SaveDlgWTS", "Error");
$fp = fopen($filename,'wb');
fwrite($fp, $file_contents);
fclose($fp);

please help in this regards...

thanks

Posts: 6

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 1024

Trending Articles