Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function Avatar($steamid,$name=""){
- $steam64 = $this->Steam_64($steamid);
- $cacheFile = "cache/".$steam64.".txt";
- if(file_exists($cacheFile)){
- $handle = fopen($cacheFile, "r");
- while (!feof($handle)) {
- $buffer = fgets($handle, 4096);
- }
- fclose($handle);
- $info = explode(',', $buffer);
- $return = [
- 'Avatar'=>$info[0],
- 'Name'=>$info[1],
- 'Profileurl'=>'href="'.$info[2].'" target="_blank"', //в этой строке ошибка
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement