I have not much experience with php at all, but basically all I'm after is a button on a page, let's say I have a form markup like this:
<form name="downloader" action="download.php" method="get">
<input type="text" value="test" name="test"/>
<button type="submit">DOWNLOAD</button>
</form>
What I need to do is compile say 3 files, lets say their in folders like this:
root ==>
css ==>
grid.css
main.css
js ==>
main.js
What If I wanted to just get the two css files, and the whole javascript folder, zip them up and download them for the user.
The reason why these aren't already zipped up and ready to go, is later on, the form will be editing variables inside the main.js
file.
How can I do this?