11 lines
233 B
PHP
11 lines
233 B
PHP
<?php
|
|
include('steam.php');
|
|
|
|
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
|
|
$steamid = $_POST['steamid'] ?? '';
|
|
$steam = new Steam();
|
|
$result = $steam->verifyAndConvertSteamID($steamid);
|
|
echo json_encode($result);
|
|
}
|
|
?>
|