title: how to get a path of my working folder in php?
body: <p>i am new in php.
  here i have given my project structure and my working folder name is 'Bookings'.</p>
  
  <pre><code>   -Bookings
          +Class
          +lib
          -Public
              -application
                 +controller
                 +css
                 +images
          +frontend
  </code></pre>
  
  <p>when i used $_SERVER['DOCUMENT_ROOT'] like this :</p>
  
  <pre><code>$path =  $_SERVER['DOCUMENT_ROOT'];
   echo $path;
  </code></pre>
  
  <p>so obtain output is </p>
  
  <pre><code>D:/xampp/htdocs
  </code></pre>
  
  <p>so how to get this path "D:/xampp/htdocs/Bookings" in php?</p>
  
  <p>Thanks</p>