mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 14:43:27 +02:00
Version 0.95 BETA
This commit is contained in:
13
api/stats.php
Normal file
13
api/stats.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
$data = file_get_contents("php://input");
|
||||
$json = json_decode($data);
|
||||
if(!$json || !$json->uid) {
|
||||
die();
|
||||
}
|
||||
|
||||
if($json->uid) {
|
||||
file_put_contents("stats/".($json->uid).".log", "\n".$data."\n", FILE_APPEND);
|
||||
}
|
||||
|
||||
echo "OK";
|
||||
?>
|
Reference in New Issue
Block a user