I have a problem with try to delete some hide suspicious backlinks. I would like try to solve this problem with the unlink() php function.
So the hide backlinks should not dissapear anymore. Is this the right function that might to be work for the problem?

   function delete($var){
             $link = './backlinks/'.$var;

I'm not sure how to delete the backlinks with the backlinks next to it.

Any help will be appreciated!


Given only the question and little code the PHP unlink documentation writes this is to delete a file.

I can't guess the connection of that file to what your site displays. Only you know this.