title: PHP unlink file from root-relative path
body: <p>My script is in <code>http://localhost/path/test/index.php</code> and the file I want to delete is in <code>http://localhost/path/media/test.txt</code>.</p>
  <p>I want to have the path of the project as a constant <code>PATH</code> which would be <code>path/</code> in this example. So I tried it with the root-relative path <code>unlink(&quot;/&quot; . PATH . &quot;media/test.txt&quot;)</code>, which didn't work.</p>
  <p>Any ideas how to solve this path problem?</p>