title: PHP Unlink Not working
body: <p>I am trying to delete photo in php using unlink. I have used it earlier on other server but this time it is not working. I have used absolute path for a test but still does not works:</p>
  
  <p>I have used it as:
      unlink('img1.jpg');</p>
  
  <p>and :</p>
  
  <pre><code>unlink('http://www.mysite.com/img1.jpg');
  </code></pre>
  
  <p>Please anyone having such experience?</p>