Device info | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

Device info

How can I use JavaScript to get user device info, then send it to php and then upload it to MYSQL database?? Please I need this script/code. Am investigating cyber crime šŸ˜”šŸ˜²šŸ˜”.if you have the script please help me with it

9th Feb 2024, 6:27 PM
Michael Chukwusom Onaiwu
Michael Chukwusom Onaiwu - avatar
1 Resposta
+ 1
for this you don't need javascript.... php will do the job for you. read the documentation! that's your second brain, not any AI code completion tool.... for example: <?php $browser = $_SERVER["HTTP_USER_AGENT"]; # this will store the browser's type (including the name, version, os, ....) # in the $browser variable # then use a query $query = "INSERT INTO <tablename> (browser) VALUES ('browser'); ?> of course, you can add some more fields.... don't use it badly because I/we will find you! happy coding!
9th Feb 2024, 6:58 PM
Mihaly Nyilas
Mihaly Nyilas - avatar