Bagosep

Redirect

Jun 1st, 2021
722
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. session_start();
  4.  
  5. if(isset($_POST['app_id'])) {
  6.   $app_id = $_POST['app_id'];
  7.   $code = $_POST['code'];
  8.   $secret = $_POST['secret'];
  9.  
  10.   echo "<script type=\"text/javascript\">
  11.          window.open('https://connect.deezer.com/oauth/access_token.php?app_id=".$app_id."&secret=".$secret."&code=".$code."', '_blank')
  12.      </script>";
  13.  
  14. }
  15.  
  16. ?>
RAW Paste Data