hi getting back into coding again but came across a bug
browserm table when a user logs in seems to update all users with your browser if it isnot recognised
ive tried following
but it seems to not just update just the one user as it should
-------------------------------------------------------------
please note if u change browser or inject it with any other table data this doesnt happen
Added after 3 minutes:
dont worry issues solved
browserm table when a user logs in seems to update all users with your browser if it isnot recognised
ive tried following
PHP Code:
$HTTP_USER_AGENT = mysql_escape_string($HTTP_USER_AGENT);
$agent ="$HTTP_USER_AGENT";
$res = mysql_query("UPDATE ibwf_users SET browserm='".mysql_real_escape_string($agent)."', ipadd='".mysql_real_escape_string($uip)."' WHERE id='".getuid_sid($sid)."'");
-------------------------------------------------------------
please note if u change browser or inject it with any other table data this doesnt happen
Added after 3 minutes:
dont worry issues solved
Comment