Hi,
I need to find the current directory path where my php file is. How do I find it.
Nainil.
so you can edit it or do you need your php script to return its path?
So that the php script shows the current directory path.
I guess I got it.. getcwd();
Thanks.
That shoudl work just fine. Another way is getting the value of $_SERVER['DOCUMENT_ROOT']