Hide Audio Url In Php February 26, 2024 Post a Comment I am playing audio in mp3 format but I want to hide the mp3 url. I'm using PHP and I try this code but his is not working. HTML ; if(is_file($filename)) { header('Content-Type: audio/mpeg'); header('Content-Disposition: inline;filename="'.basename($filename).'"'); header('Content-length: '.filesize($filename)); header('Cache-Control: no-cache'); header("Content-Transfer-Encoding: chunked"); readfile($filename); } CopyBasically we are outputting the raw audio stream in the location where mp3.php is called. This is also how we do it when we say <img src='img.php'> Share You may like these postsHtmlpurifier, Check Entire Html DocumentHow To Hide Select Options Using Css In Ie?Javascript: Getelementbyid Not Working In Ie8Floating Div Issue In Ie Post a Comment for "Hide Audio Url In Php"
Post a Comment for "Hide Audio Url In Php"