mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Store full user agent, we can always parse it later
This commit is contained in:
@@ -10,11 +10,14 @@ include("functions.php");
|
||||
|
||||
//SESSION FINGERPRINT
|
||||
$ip = strip_tags(mysqli_real_escape_string($mysqli,get_ip()));
|
||||
$os = strip_tags(mysqli_real_escape_string($mysqli,get_os()));
|
||||
$browser = strip_tags(mysqli_real_escape_string($mysqli,get_web_browser()));
|
||||
//$os = strip_tags(mysqli_real_escape_string($mysqli,get_os()));
|
||||
//$browser = strip_tags(mysqli_real_escape_string($mysqli,get_web_browser()));
|
||||
//$device = strip_tags(mysqli_real_escape_string($mysqli,get_device()));
|
||||
|
||||
$user_agent = "$os - $browser";
|
||||
//$user_agent = "$os - $browser";
|
||||
// Get user agent
|
||||
$user_agent = strip_tags(mysqli_real_escape_string($mysqli,$_SERVER['HTTP_USER_AGENT']));
|
||||
|
||||
|
||||
// HTTP Only cookies
|
||||
ini_set("session.cookie_httponly", True);
|
||||
|
||||
Reference in New Issue
Block a user