How do I detect the directory a php file is in
- by Eric
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 C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\
I think that this is pretty straightforward but if there is something you don't understand just comment