Hi,
Suppose I have a file run.php. I want to have a code in the file which will tell me where it is located,
is there any function in php that will give me the exact path of the file run.php
Thanks
how to find the absolute path
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
mmm realpath().
what about getcwd() 
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA
realpath(). And I think this question has been asked before. Have you search our forums?