oopps Forgot the r in strip_tags
This commit is contained in:
@@ -6,7 +6,7 @@ include("config.php");
|
|||||||
// Get user IP
|
// Get user IP
|
||||||
$ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip()));
|
$ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip()));
|
||||||
// Get user agent
|
// 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'
|
// Check API key is provided in GET request as 'api_key'
|
||||||
if(!isset($_GET['api_key']) OR empty($_GET['api_key'])) {
|
if(!isset($_GET['api_key']) OR empty($_GET['api_key'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user