How do I detect the directory a php file is in
<p>I have a PHP file that I need it to detect it's directory it's in. In my case I want it to return <code>C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\</code></p>

<p>I think that this is pretty straightforward but if there is something you don't understand just comment</p>
