I have an issue with finding paths with includes in my site. I use the method i know but coud not get it right: Here is how my site is composed
1- Main foldername is:kbaboutik: Inside we have:
images
css
includes
index.php
subfoldername:Man-clothes
index.php
So, the issue have is that I have tried to include header.html.php from the includes folder into man-clothes index.php with this method:
<?php
$pathroute = $_SERVER['DOCUMENT_ROOT'];
include_once $pathroute."kbaboutik/includes/header.html.php";
?>
But it does not work the way expected; the html element of the header.html.php apppears unstyled and the images also do not not appear.
Can somebody help me out?
Thanks