Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CACHE OF BACKLINKSPIDER IS VERY BIG
13-12-2011, 12:33 AM
Post: #2
RE: CACHE OF BACKLINKSPIDER IS VERY BIG
if you can not access this folder via ftp or control panel,
it may be possible to write a small php script to delete this folder.

here is an example:
Code:
<?
$dirname = 'tmp/backlinkspider/';
function delete_directory($dirname) {
   if (is_dir($dirname))
      $dir_handle = opendir($dirname);
   if (!$dir_handle)
      return false;
   while($file = readdir($dir_handle)) {
      if ($file != "." && $file != "..") {
         if (!is_dir($dirname."/".$file))
            unlink($dirname."/".$file);
         else
            delete_directory($dirname.'/'.$file);    
      }
   }
   closedir($dir_handle);
   rmdir($dirname);
   return true;
}
delete_directory($dirname);
?>

NOTE: I did not write that code, and I have not tested it.
You may have to specify a full domain path for the dirname variable.
It may also not accept a double folder name, so you might have to make it "backlinkspider" and place the code into the /tmp folder to initiate it, but due to htaccess, i dont know if that will be possible.

I recommend upgrading your script, we currently have disabled backlink spider as it is conflicting with googles new algorythm.

Custom HTML/CSS/PHP
http://theorderofindividualacceptance.co...p.php?id=1
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: CACHE OF BACKLINKSPIDER IS VERY BIG - Punktured - 13-12-2011 12:33 AM

Forum Jump: