How to get a folder's name with PHP? : <p>I want to get a folder's name with PHP and store it in a variable. But I don't know how to do that ! So my site directory is like this: </p>

<pre><code>---daygostar.com
   ---css
   ---js
   ---scss
   ---index.php
</code></pre>

<p>So here ,I would like to get <strong>daygostar.com</strong>'s name and store it at <strong>index.php</strong>. So how to do that ? </p>
