Bagosep

Login

Jun 1st, 2021
768
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.    if(isset($_GET['app_id'])) {
  3.         $app_id = $_GET['app_id'];
  4.  
  5.         header('location: https://connect.deezer.com/oauth/auth.php?app_id='.$app_id.'&redirect_uri=http://localhost/sample-musik/redirect.php&perms=manage_library,delete_library');
  6.  
  7.         session_start();
  8.  
  9.         $_SESSION['app_id'] = $app_id;
  10.     }
  11. ?>
RAW Paste Data