title: Empty css file in loading index.php
body: <p>In a way of divide php code from HTML. I got a problem in loading css file.
  So I have php file index.php, css file - main.css,and html files front.html and  log_in.html</p>
  
  <pre><code>&lt;?php
  
      $door = file_get_contents("log_in.html");
      $Page = file_get_contents("Front.html");
          $Page = str_replace("{{Door_frame}}", $door, $Page); 
      echo $Page;  // if you know better variant to get page from php please let me know.
  
  ?&gt;
  </code></pre>
  
  <p>Here I try to put the login container in front.html page. I thing it is better to do that create another similar page.</p>
  
  <p>if I go to directory localhost/my-site/  (it automatically take index.php or index.html if i understand correct)
  it show me the website perfectly. Everything work.
  But as soon as I get localhost/my-site/index.php it get me page  with empty css file  (see the attached pictures).
  So the question: why does it happening? Is it not the same address localhost/my-site/ and localhost/my-site/index.php?</p>
  
  <p><a href="https://i.stack.imgur.com/OKCzk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OKCzk.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/XQ6PN.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XQ6PN.png" alt="enter image description here"></a></p>