I accidentally created a file with no name `http://website.com/myFolder/.html`,

now, in the control panel of my webhost, this file is not listed, I cannot see or delete it...

but I can see it using this **"myList.php"** file: (`http://website.com/myFolder/myList.php`):

```
<?php
echo "<ol>";
if ($handle = opendir('.')) {
    while (false !== ($entry = readdir($handle))) {
        if ($entry != "." && $entry != "..") {
            echo '<li><a href="'.$entry.'" target="_blank">'.$entry.'</a></li>';
        }
    }
    closedir($handle);
}
echo "</ol>";
?>

```

This **"myList.php"** file outputs all the files present in the directory: `http://website.com/folder/`  

also the file with no name `http://website.com/myFolder/.html`  

How can I delete this file?

I tried to create another .php file called `http://website.com/myFolder/myDelete.php`,  

and use the php function **unlink()**:

```
<?php

$path = "../myFolder/.html";
if(file_exists($path)){
    if (is_file($path)){
        //unlink($path);
        if (!unlink($file)){
            echo ("Error deleting".$path);
        }else{
            echo ("Deleted".$path);
        }
    }
}

?>

```

But it doesn't work.