Advertisement
irokemr

Steam imagen bandera

Dec 29th, 2020
1,957
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.28 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. $steamBandera = explode ('<img class="profile_flag" src="', $page);
  8. $steamBandera = explode ('"', $steamBandera[1]);
  9.  
  10. echo $steamBandera[0];
  11.  
  12.  
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement