I have this folder structure in my PHP project. (this is as shown in eclips)
-MySystem +Code +Data_Access -Public_HTML +css +js
use the PHP function:
getcwd()
Gets the current working directory.