Good afternoon colleagues, I would like to know if there is any way to get the index folder in PHP being in any folder, is there any constant that by mentioning it you can put it before the path of the other folders to get to a specific file?
Good afternoon colleagues, I would like to know if there is any way to get the index folder in PHP being in any folder, is there any constant that by mentioning it you can put it before the path of the other folders to get to a specific file?
To get the home page is with:
<?php
echo $_SERVER['SERVER_NAME'];
?>