Jump to content

making a link zip and download?


phpeeps

Recommended Posts

 

    I am making a download page for my multimedia work and want to be able to have the link actually ask for a download rather than play the media type. What is the best way (or code example) to do this? I thought maybe having it zip up first would be right but am not sure...

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/204244-making-a-link-zip-and-download/
Share on other sites

Thanks, I have tried a few and get this: Fatal error: Class 'ZipArchive' not found in /nfs/c03/h01/mnt/48952/domains/yazizle.com/html/clients/=/zippy.php  on line 3

 

Do I need to import a class in the code? Or does it reside in the PHP process already? Any additional examples of a zip-and-download script are graciously accepted :)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.