Display App Name

Looking for solution to display App-Name (i.e in the header) or upon click on a button etc.
The bottom line is that I would like to have user tell me which App is opened on the screen (when reporting bugs, issues etc.). I have had something like this on the desktop application and it works great that way (as I do not have to ask the user for a screenshot). There is also a table called APPS, so showing the App-ID would be OK as well.

Any ideas ?

Event | onApplicationInit
$self = $_SERVER[‘PHP_SELF’];
[Applicazione]="App: ".$this->Ini->nm_cod_apl . “
” . "Versione ".$this->Ini->nm_app_version;

Layout | Header & Footer | Footer | value [Applicazione]

Thaks , but
Do I need any external LIBs ?
this doesn’t seem to work. I get errors…
there also seem to be some security issues with using PHP_SELF

Here a POST maybe can help you.