Hi!

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;
             unlink($link);
         }

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

Any help will be appreciated!

Thanks!

Given only the question and little code the PHP unlink documentation writes this is to delete a file.
http://php.net/manual/en/function.unlink.php

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.