title: How to get absolute path to public_html folder
body: <p>I'm a little confused about absolute paths when searching in the questions. I have a <code>php</code> project that includes a <code>Header.php</code> file which is the header for first level <code>php</code> files. To avoid adding another header, I want to make that work for the inner levels, too. For example use it in a <code>php</code> file that is included in another folder of project.
  To do this, I wana get the absoute path to my <code>public_html</code> folder and use that in my <code>Header.php</code>. How can I get it?</p>