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
1 ответ
+ 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!