I have includes in multiple files, i recently started a new directory and am unable to get some of my includes to work.
for example i have this include in my postpage.php which is located at example.com/c/postpage.php:
include '../includes/overall/header.php';
which works as it goes to the root directory and includes header.php but my problem is that header.php also includes files which are not being included.
the code in header.php is:
include 'includes/head.php';
which is not working
if i change header.php to:
include '../includes/head.php';
then it breaks the rest of my site, while working only for postpage.php
any advice is welcome.