oopps Forgot the r in strip_tags

This commit is contained in:
johnnyq 2022-02-04 16:58:30 -05:00
parent be0778ab84
commit 6132ce81e1
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ include("config.php");
// Get user IP
$ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip()));
// Get user agent
$user_agent = stip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT']));
$user_agent = strip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT']));
// Check API key is provided in GET request as 'api_key'
if(!isset($_GET['api_key']) OR empty($_GET['api_key'])) {