readme added

This commit is contained in:
2021-11-24 00:58:07 -03:00
parent 47d352fa66
commit 70a3944b4f
9 changed files with 788 additions and 781 deletions

View File

@@ -1,20 +1,20 @@
<?php
$visitas = htmlspecialchars($_POST['visitas']);
function backToLife() {
header('Location: ./definer.html');
}
if (!isset($visitas)) {
backToLife();
}
if ($visitas >= 0 && $visitas <= 9999) {
file_put_contents('./visits.txt', $visitas - 1);
header('Location: ./index.php');
} else {
backToLife();
}
<?php
$visitas = htmlspecialchars($_POST['visitas']);
function backToLife() {
header('Location: ./definer.html');
}
if (!isset($visitas)) {
backToLife();
}
if ($visitas >= 0 && $visitas <= 9999) {
file_put_contents('./visits.txt', $visitas - 1);
header('Location: ./index.php');
} else {
backToLife();
}
?>