Skip to content

Instantly share code, notes, and snippets.

/audio.demo.302.php Secret
Created May 20, 2017

Embed
What would you like to do?
<?php
if (isset($_GET['mp3'])) {
header('Content-Type: audio/mpeg; name="ololo.mp3"');
header('X-Accel-Redirect: /internal_redirect_on/24/0/0/0/0/0/0/ololo.mp3/127.0.0.1/test.one.mp3');
exit;
}
?><!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>demo</title>
</head>
<body>
<a href="audio.demo.302.php?mp3&amp;time=<?=time()?>&amp;dl">Download</a>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.