When using file_get_contents inside while is a delay of 5-10 seconds, is there any solution? It is necessary to speed up the process somehow).
file_get_contents Reads:
while (true) { $String = file_get_contents("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=D809927A12701C14A968491B9518BBB6&steamids=76561198212513347"); $mail = explode(' ', $String); $mail = explode('"', $mail[8]); $mail = $mail[3]; if ($mail == '') { $mail = '../img/no-avatar.jpg'; } echo $mail; }
file_get_contentsread? It would be nice to see a little more code - Dmitriy Simushevwhile ($prof = mysql_fetch_array($pro))- Sauron