Hallo
I will fill a global variable with the name of the actual form or grid.
[glob_var]=myapp.php
is it possible?
Kai
Hallo
I will fill a global variable with the name of the actual form or grid.
[glob_var]=myapp.php
is it possible?
Kai
i don’t remember if SC stores the name of the app in a global variable itself but you can always use somehting like
echo getcwd();
that will get you the current working directory, that is your app name.
Regards
[QUOTE=kai@schaefers-net.de;38084]Hallo
I will fill a global variable with the name of the actual form or grid.
[glob_var]=myapp.php
is it possible?
Kai[/QUOTE]
What yiu want to do? And what do you need? Application name? Folder?
in onScriptinit put
[glob_var] = basename($_SERVER[‘PHP_SELF’]);
I use this to get the running appname :
basename(pathinfo($_SERVER[‘PHP_SELF’], PATHINFO_DIRNAME))