Get Current Directory from PHP
Yes, I’m lazy because if I want to manual, I’ll find a method to find current directory instead of reinventing the wheel. Hehehe, so, here’s what I do to find current directory :
Now, I have new post for my blog .
Update: As comments from readers, you can also use getcwd() to get equal result.