Advertisement
Guest User

Untitled

a guest
Jun 19th, 2019
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. <?php
  2. if($_GET["nologin"] == 1 && $_GET["idRedirect"])
  3. {
  4. echo json_encode($_GET);
  5. die();
  6. }
  7.  
  8. if($_GET["idRedirect"])
  9. {
  10.  
  11. header("Location: index.php?user=" . $_GET["email"] . "&idRedirect=" . ($_GET["idRedirect"] == "" ? "1" : $_GET["idRedirect"]) );
  12. die();
  13. }
  14.  
  15. header("Location: index.php?user=" . $_GET["email"] . "&idRedirect=1");
  16.  
  17. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement