FAQ
FAQ : Known problems
I can't delete some files from the phpMyVisites directory using my FTP client, because of permission / rights problems. How can I delete those files?
You have 2 solutions.
- Use the following code
delete_phpmv.php
--------------------------------------------------
function delete($dir)
{
if($objet = glob($dir."/*"))
{
foreach($objet as $obj)
{
if(is_dir($obj))
{
delete($obj);
}
else
{
unlink($obj);
}
}
}
rmdir($dir);
}
delete('phpmv2/');
?>
--------------------------------------------------
Put this file delete_phpmv.php in the root directory of your phpmv2 directory, and call the script with your browser. It should delete the phpMyVisites files.
If this solution doesn't work, you can ask your webhosting service to delete the files because they only have the permission.
With the SSH access, everything is possible. Oh yeah.
Back to FAQ