daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jul 21st, 2017 47 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. function make_safe($safe) {
  4.  
  5. $safe = mysql_real_escape_string(trim($safe));
  6.  
  7. return $safe;
  8.  
  9. }
  10.  
  11. $array = explode(":", $steamid);
  12. $a = (string)((int)$array[0] + 1);
  13. $b = (string)((int)$array[1] + 1);
  14. $c = $array[2];
  15. $bybid = $a . $b . $c;
  16.  
  17. $steamid = make_safe($_GET['steamid']);
  18.  
  19. $db_host = "";
  20. $db_user = "";
  21. $db_pass = "";
  22. $db_name = "";
  23. $db = mysql_connect($db_host,$db_user,$db_pass);
  24. mysql_select_db ($db_name) or die ("Cannot Connect To Database");
  25.  
  26. $sql =("SELECT RPname
  27. FROM DarkRPwallet
  28. WHERE bybid='00400010'");
  29.  
  30. $sql2 =("SELECT Wallet
  31. FROM bybtable
  32. WHERE bybid='00400010'");
  33.  
  34. $sql3 =("SELECT steamID
  35. FROM bybtable
  36. WHERE bybid='00400010'");
  37.  
  38. $firstQ = mysql_query($sql);
  39. $firstQ1 = mysql_fetch_row($FirstQ);
  40. $RPname = $two. " RPname, $firstQ1";
  41.  
  42. $print1 = print($RPName);
  43.  
  44. $secondQ = mysql_query($sql2);
  45. $secondQ1 = mysql_num_rows($secondQ);
  46. $wallet = $secondQ1. " Wallet, ";
  47.  
  48. $ThirdQ = mysql_query($sql3);
  49. $ThirdQ1 = mysql_num_rows($ThirdQ);
  50. $steam = $ThirdQ1. " SteamID, ";
  51.  
  52.  
  53. $stringi = $print1;
  54. $stringi2 = $two;
  55. $stringi3 = "";
  56. $stringi4 = "";
  57. header("Content-type: image/png");
  58.  
  59. $im = imagecreatefrompng ("signa.png");
  60. $colour = imagecolorallocate($im, 255, 255, 255);
  61. imagestring($im, 45, 91, 2, $RPname, $colour);
  62. imagestring($im, 45, 91, 15, $stringi2, $colour);
  63. imagestring($im, 45, 91, 25, $stringi3, $colour);
  64. imagestring($im, 25, 91, 35, $stringi4, $colour);
  65. imagepng($im);
  66.  
  67. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top