Path where user extracted php files to
<p>If a user extracted the files of my php application to example <code>http://example.com/test/webapp/</code>, the absolute links in my application won't work anymore.  </p>

<p>How can I get the path <code>/test/webapp/</code> to add it to my absolute links?</p>
