For hyperlinks, ExeOutput for PHP provides you with some pre-defined protocols that you can use not only for hyperlinks in your applications, but also for menu items…
<a href="[protocol][destination URI]">Your link</a>
heopenit:// + virtual path to the file you want to open in the external application associated to its filetype (for instance,
heopenit://mydoc.doc will extract and open
mydoc.doc in Microsoft Word).
heopenext:// + path to an external file you want to open in the external application associated to its type (a file that is not compiled into the application but in the same folder as the EXE file). It can also be in a subfolder.
heexternal:// + a URL, a path to an application: lets you start the application or the end user’s default browser if it is a URL.
heopenit:// can be used for any document file such as executable program files, text files, Microsoft Office® files, etc. compiled in the EXE. These files are listed in the File Manager.
<a href="heopenit://mydocument.docx">Open this Word document</a>
heopenext:// can be used for any document file such as executable program files, text files, Microsoft Office® files, etc. These files are available outside the application, in the same folder as the EXE file.
<a href="heopenext://myprogram2.exe">Start another application</a>
Another sample to open a file in a subfolder named
<a href="heopenext://Subdir/powerpoint%20demo.pptx">Open PowerPoint in subdir</a>
If a filename has spaces, encode the filename properly:
my%20program.exe for instance.
Copyright G.D.G. Software 2019. All Rights Reserved.