![]() | |||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Finding Your Absolute Path
Many tutorials related to php will need to know the path your server uses to get to a specific location. This little code will help you figure out the path of any directory. Save the following as absolute_path.php (or anything you want actually as long as it has a .php extention). Then upload it to whatever directory you want to know the path of, and view the file in your browser using the url. For example:
| |||||||||