Jan 22, 2019 PHP provides ZipArchive Class which allows us to create Zip file. HTML. Creating a
The HTML Video element (video) embeds a media player which supports video playback into the document. You can use video for audio content as well, but the audio element may provide a more appropriate user experience.
header('Content-Disposition: attachment; filename='.basename($file)); Most if not all browsers will simply download files with that type. If I instead set the html link target option to be “_blank”, the script will open up in a new window as