Possible Duplicate:
PHP: let a file return its own directory.
Hi
I have a file located in a directory like this:
C:\wamp\www\site\modules\file.php
How can I get the current directory of file.php from within that script? This directory should look like modules
in this case
I needs this directory name to build a URL path to a css file from the same directory.