fork download
  1. <?php
  2. $id = "http://s...content-available-to-author-only...y.com/profiles/" . $matches[1]; //полная ссылка на профиль
  3. $url = "http://a...content-available-to-author-only...d.com/ISteamUser/GetPlayerSummaries/v0002/?key=$_STEAMAPI&steamids=$id"; // steam api запрос
  4. $json_object= file_get_contents($url); // получаем содержимое страницы в формате json
  5.  
Success #stdin #stdout #stderr 0.02s 24480KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
PHP Notice:  Undefined variable: matches in /home/mxvSvR/prog.php on line 2
PHP Notice:  Undefined variable: _STEAMAPI in /home/mxvSvR/prog.php on line 3
PHP Warning:  file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mxvSvR/prog.php on line 4
PHP Warning:  file_get_contents(http://a...content-available-to-author-only...d.com/ISteamUser/GetPlayerSummaries/v0002/?key=&steamids=http://s...content-available-to-author-only...y.com/profiles/): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mxvSvR/prog.php on line 4