If I create a file (say ASCII text) from user input using PHP, is there a way PHP can
1) convert this to a ZIP file
2) make the ZIP file an attachment to a reply e-mail?

Any advice would be appreciated.

Regards

Peter