daily pastebin goal
29%
SHARE
TWEET

Untitled

a guest Mar 26th, 2019 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. function aliexpress(){
  3.     // SEU LINK ALIEXPRESS
  4.     return "";
  5. }
  6.  
  7. function createCookie($ad){
  8.     setcookie("brlMoneyChecker", $ad, time()+86400);
  9. }
  10.  
  11. if (isset($_COOKIE["brlMoneyChecker"])) {
  12.     $cookie = $_COOKIE["brlMoneyChecker"];
  13. }else{
  14.     $cookie = 0;
  15. }
  16.  
  17. switch ($cookie) {
  18.     case 0:
  19.     $url = aliexpress();
  20.     createCookie(1);
  21.     break;
  22.  
  23.     case 1:
  24.     $url = aliexpress();
  25.     createCookie(2);
  26.     break;
  27.  
  28.     case 2:
  29.     $url = aliexpress();
  30.     createCookie(3);
  31.     break;
  32.  
  33.     case 3:
  34.     $url = aliexpress();
  35.     createCookie(3);
  36.     break;
  37. }
  38.  
  39. header("location: ".$url);
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