开发者

php custom zip file

Currently have an html form with 6 checkboxes, each one giving a value of 0 or 1 depending on whether it is checked or not. Each checkbox refers to a seperate pdf on the site. What is the best way to turn these checkbox values into a zip file? The zip file will then be passed, as an attachment, to an emaili开发者_StackOverflowng script, which has already been written


If each of your checkbox refers to a PDF file, why don't you put the name of this pdf file in the chechbox name attribute? Like this, once the form is post, you'll get all the name of the PDF required and you zip them using ziparchive class for example.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜