Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1.  
  2. $secret_password = 'ENTER YOUR SECRET PASSWORD HERE';
  3. $password = $_REQUEST['pwd'];
  4. $credit = $_REQUEST['c'];
  5. $user = trim($_REQUEST['u']);
  6. $type = trim($_REQUEST['t']);
  7. $status = trim($_REQUEST['s']);
  8.  
  9.  
  10. if( $password == $secret_password )
  11. {
  12. if($status == 1)
  13. {
  14. if($type ==1)
  15. {
  16. //Credit Cash to user
  17. //Add Your Queries here
  18. }
  19. else
  20. {
  21. //Credit Point to use
  22. //Add Your Queries here
  23. }
  24. exit('Done');
  25. }
  26. else
  27. {
  28. if($type ==1)
  29. {
  30. //Debit Cash
  31. //Add Your Queries here
  32. }
  33. else
  34. {
  35. //Debit Point
  36. //Add Your Queries here
  37. }
  38. exit('Done');
  39. }
  40. }
  41. else
  42. {
  43. die();
  44. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement