I am trying to find a way to make the include_once(); path start from the beginning directory and then find the path e.g. instead of ../../../path/to/file I would have /path/to/file. If I do do that /path/to/file it says no such file or directory, here is my direct code
<?php
include_once("/assets/page_assets.php");
?>
path start from the beginning directoryfrom the root of the webserver?/path/to/fileis the path from the root of the file system!