Security Fixes, Mainly

This commit is contained in:
lloydbayley
2023-05-22 23:55:11 +10:00
parent 6313cb1d91
commit ed9b7c8055
6 changed files with 33 additions and 3 deletions
+5
View File
@@ -1,4 +1,9 @@
<?php
/* Prevent XSS input */
$_GET = filter_input_array(INPUT_GET, FILTER_SANITIZE_STRING);
$_POST = filter_input_array(INPUT_POST, FILTER_SANITIZE_STRING);
error_reporting(E_ALL);
ini_set('display_errors',1);
ini_set('display_startup_errors',1);