Skip to content

Instantly share code, notes, and snippets.

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

What would you like to do?
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/');
?><!DOCTYPE html>
<meta charset="utf-8" />
<a href="audio.demo.302.php?mp3&amp;time=<?=time()?>&amp;dl">Download</a>
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.