how to get current context?

Permalink
hi
i would like to have current context in my page?
how can i do it?
for example if my page ishttp://localhost/conc/index.php...
i will to have " conc " and i need a solution for everywhere
http://localhost/index.php or
http://localhost/new/index.php or ...
thank you

 
Remo replied on at Permalink Reply
Remo
echo DIR_REL;
davidjames replied on at Permalink Reply
thank you so much