$tank = "bd/".$text.".txt";
if (file_exists($tank)) {
} else {
file_put_contents($tank, $text = "<span class='$random'>$text</span><br>");
}
$tank = "bd/".$text.".txt";
if (!file_exists($tank)) {
file_put_contents($tank, $text = "<span class='$random'>$text</span><br>");
}