I know how to create and write to a text (.txt) file on the server with php, but say a user clicks a link to download it, I want to ZIP it and have it open the save-as dialogue. I can only find info on how to use php to READ zip archives - but not make them.
Just like the export function in phpMyAdmin.