Advertisement
irokemr

Steam ID64 php

Dec 29th, 2020
1,364
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.25 KB | None | 0 0
  1. <?php
  2.  
  3. error_reporting(0);
  4. $usuario = $_GET["usuario"];
  5. $page= file_get_contents("https://steamcommunity.com/id/$usuario");
  6.  
  7. $steamID64 = explode ('"Profile_', $page);
  8. $steamID64 = explode ('"', $steamID64[1]);
  9.  
  10. echo $steamID64[0];
  11.  
  12.  
  13. ?>
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement