forked from SimplesIP/pabx-app
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
418 B
18 lines
418 B
2 years ago
|
<?php
|
||
|
|
||
|
/*
|
||
|
* To change this template, choose Tools | Templates
|
||
|
* and open the template in the editor.
|
||
|
*/
|
||
|
//include("startSession.php");
|
||
|
|
||
|
$file = $_GET["repAudio"];
|
||
|
|
||
|
|
||
|
header('Content-Type: ' . "audio/x-wav");
|
||
|
// header('Content-Disposition: attachment; filename="'. $file .'";');
|
||
|
header('Content-Transfer-Encoding: binary');
|
||
|
//header('Content-Length: ' . filesize( $filepath ));
|
||
|
readfile($file);
|
||
|
?>
|