How to validate this url us audio url
<input type="url" id="audio" name="audio" value="http://localhost/audio/warna.mp3">
anyone one can enter http://fake.com/audio.mp3
OR http://real.com/fake.mp3 OR http://real.com
html5 input type only check url but not audio url
this is link only confirm that url exist or not but don't validate that this url is audio url
How can I check if a URL exists via PHP?
Please anyone guide me to solve it.