pathname of script in cli
Posted: Thu Oct 01, 2015 7:02 pm
Hi,
I want to get the path of a php script I'm running in cli.
I tried __FILE__,
but it only gives the file name.
I want to get the path of a php script I'm running in cli.
I tried __FILE__,
but it only gives the file name.