Hello everyone, I have a community lavalair and I noticed that all new mobile phones last generations are not recognized by the generic model but as mozilla, I am looking for a user agent to have code that you recognize the models and possibly a user already registered you can reregister with the usual tricks, thanks to anyone who helps me 🙂
Show me the database browser row recodes which come from INSERTing value of $_SERVER["HTTP_USER_AGENT"] not an exploded value like explode(" ",$_SERVER["HTTP_USER_AGENT"])
LadyEnigma wrote:
well done metulj ,and this allows me to see the phone model my users simply going into their profile? in which file should put the code?
$phone = explode(" . ",$_SERVER['HTTP_USER_AGENT'] . "\n\n");
$phone1 = htmlentities($phone);
/////////
//put in your code profile
echo "".$phone1."";