title: PHP unlink(); No such file or directory
body: <p>I searched everywhere for this problem and can't find the solution. I have this:</p>
  
  <pre><code>&lt;?php
    $file_name = $_GET['name'];
    $file_delete = '../u/' . $file_name;
    unlink($file_delete);
    //header("location: $file_delete");
  ?&gt;
  </code></pre>
  
  <p><code>unlink</code> returns the error: <code>No such file or directory</code>, but if I try <code>header("location: $file_delete");</code> it opens the file (picture in this case).</p>
  
  <p>Where may I be wrong?</p>