title: Absolute path PHP
body: <p>I have a problem because i can´t work my images or css when my site is like www.site.com/shop</p>
  
  <p>Situation:
  I have these folders inc  img css js</p>
  
  <p>In my root documents i have  and in this include i have all the styles.css, scripts and metadata.</p>
  
  <p>So far so good, all the documents work when they are in root document but now i have a new folder called shop where i am putting code to make a store.</p>
  
  <p>mysite/shop</p>
  
  <p>How can i call from the shop/index.php all my images, and css, js and inc ? </p>
  
  <p>I want to avoid using ../img/bla.jpg or ../inc/header.php also because when i include the footer or menu i can´t find the images.</p>
  
  <p>Thanks for all the help.</p>