title: PHP does unlink function works with a path?
body: <p>I would like to remove a file from a folder in PHP, but I just have the path to this file, would it be ok to give the path to unlink? For example</p>
  
  <pre><code>unlink('path/to/file.txt');
  </code></pre>
  
  <p>If this doesn't work, the only way to get rid of those files would be to create a .php file in the path/to/ directory and include it somehow in my file an call a method there to remove the file, right?</p>