error_log

This commit is contained in:
devdatt 2025-12-31 18:17:14 +05:30
parent 36c92bddd4
commit f6e8ba8c41
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
echo '<script>alert("'
. htmlspecialchars($data['message'], ENT_QUOTES)
. '");</script>';
if ($data['valid'] === "valid") {
error_log($data['link']);
}
break;
case 'reset':
$files = glob('/var/www/encoder/*.json');