mirror of https://github.com/itflow-org/itflow
oopps Forgot the r in strip_tags
This commit is contained in:
parent
be0778ab84
commit
6132ce81e1
2
api.php
2
api.php
|
|
@ -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'])) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue