dirname()

Get directory path from the paramater, ussualy to get the fully path from root of current directory of this file.

echo dirname(__FILE__);

Last updated