Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.46 KB | None | 0 0
  1. <?php
  2. $steamid = "STEAM_0:1:1234567890";
  3.  
  4. $array = explode(":", $steamid);
  5.  
  6. $a = (string)((int)$array[0] + 1);
  7.  
  8. $b = (string)((int)$array[1] + 1);
  9.  
  10. $c = $array[2];
  11.  
  12. $bybid = $a . $b . $c;
  13.  
  14. header("Content-type: image/png");
  15.  
  16. $im = imagecreate(100, 80);
  17. $colour = imagecolorallocate($im, 255, 255, 255);
  18. $textcolor = imagecolorallocate($im, 0, 0, 255);
  19. imagestring($im, 35, 0, 0, 'SteamID', $textcolor);
  20. imagestring($im, 35, 25, 25, $bybid, $textcolor);
  21.  
  22. imagepng($im);
  23.  
  24. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement