Ciao.
Oppure:
getcwd o __FILE__ o anche
a volte può essere utile realpath