![]() 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/-7f3c99a2/ |
<!DOCTYPE html>
<html>
<head>
<title>Test Louise's Smile Fix</title>
</head>
<body>
<h1>Testing Louise's Smile Fix</h1>
<?php
$track_title = "Louise's Smile";
$artist_name = "stephane bergeron";
$audio_url = "https://apiboxfiles.erweima.ai/ZmZiMGZjY2ItYzYxNi00YjI5LWFhNTktOWU0ZDMxYjhlNTY1.mp3";
$escaped_title = addslashes(htmlspecialchars($track_title));
$escaped_artist = addslashes(htmlspecialchars($artist_name));
?>
<p><strong>Original title:</strong> <?= htmlspecialchars($track_title) ?></p>
<p><strong>Escaped title:</strong> <?= htmlspecialchars($escaped_title) ?></p>
<button onclick="testPlay('<?= htmlspecialchars($audio_url) ?>', '<?= $escaped_title ?>', '<?= $escaped_artist ?>')">
Test Play Louise's Smile
</button>
<script>
function testPlay(audioUrl, title, artist) {
console.log('Testing play function...');
console.log('Audio URL:', audioUrl);
console.log('Title:', title);
console.log('Artist:', artist);
// Test if the strings are valid
try {
const testString = `playTrack('${audioUrl}', '${title}', '${artist}')`;
console.log('Generated function call:', testString);
alert('JavaScript string is valid! Check console for details.');
} catch (error) {
console.error('JavaScript error:', error);
alert('JavaScript error: ' + error.message);
}
}
</script>
</body>
</html>