Tuesday, October 6, 2009

get current working directory in php - simple function

sometimes it is required to get the current working directory of the script.
so to get the current working directory in php this is a small function.