displays the user's top songs via spotify api, authentication via oauth 2.

This commit is contained in:
Joshua Ashton
2025-02-01 21:53:45 -07:00
parent 331bfa0a01
commit eab066346e
9 changed files with 191 additions and 45 deletions
+3 -5
View File
@@ -1,6 +1,6 @@
<?php
session_start();
include ('core.php');
include ('login.php');
exec('php explore.php &');
?>
<!DOCTYPE html>
@@ -14,12 +14,10 @@ exec('php explore.php &');
<body>
<h1>My Favorite Albums</h1>
<button onclick=modeSwitch() type="submit">Click me</button>
<button id="switcher" onclick=modeSwitch('core')>Core</button>
<div id="content">
<?php
echo get_core();
?>
<?php include ('explore.php'); ?>
</div>
</body>
</html>