T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/.cursor-server/data/User/History/768c1469/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/.cursor-server/data/User/History/768c1469/YyYP.php
<?php
session_start();
$_SESSION['user_id'] = 3;
?>
<!DOCTYPE html>
<html>
<head>
    <title>Global Player Debug</title>
</head>
<body>
    <h1>Global Player Debug Test</h1>
    
    <button onclick="testGlobalPlayer()">Test Global Player</button>
    <button onclick="testPlayTrack()">Test Play Track</button>
    
    <div id="debug"></div>
    
    <script>
        function log(message) {
            console.log(message);
            document.getElementById('debug').innerHTML += '<div>' + message + '</div>';
        }
        
        function testGlobalPlayer() {
            log('🎵 Testing global player availability...');
            log('window.globalPlayerReady: ' + (window.globalPlayerReady || 'undefined'));
            log('window.enhancedGlobalPlayer: ' + (window.enhancedGlobalPlayer ? 'exists' : 'undefined'));
            log('window.waitForGlobalPlayer: ' + (typeof window.waitForGlobalPlayer === 'function' ? 'function' : 'undefined'));
            
            if (window.enhancedGlobalPlayer) {
                log('enhancedGlobalPlayer.playTrack: ' + (typeof window.enhancedGlobalPlayer.playTrack === 'function' ? 'function' : 'undefined'));
                log('enhancedGlobalPlayer.addToPlaylist: ' + (typeof window.enhancedGlobalPlayer.addToPlaylist === 'function' ? 'function' : 'undefined'));
            }
        }
        
        function testPlayTrack() {
            log('🎵 Testing playTrackWithGlobalPlayer...');
            
            const testData = {
                audioUrl: 'https://soundstudiopro.com/uploads/1754096504_3_Lounge.mp3',
                title: 'Test Track',
                artist: 'Test Artist',
                trackId: 44,
                userId: 3
            };
            
            log('Test data: ' + JSON.stringify(testData));
            
            if (typeof playTrackWithGlobalPlayer === 'function') {
                log('✅ playTrackWithGlobalPlayer function exists');
                playTrackWithGlobalPlayer(testData.audioUrl, testData.title, testData.artist, testData.trackId, testData.userId);
            } else {
                log('❌ playTrackWithGlobalPlayer function not found');
            }
        }
        
        // Check on page load
        document.addEventListener('DOMContentLoaded', function() {
            log('🎵 Page loaded, checking global player...');
            setTimeout(testGlobalPlayer, 1000);
        });
    </script>
    
    <?php include 'global_player.php'; ?>
</body>
</html> 

CasperSecurity Mini