I'm going to try to explain this a simply as possible. I am an Android developer, and what I want to do is related to that, but you don't have to understand Android to be able to help out.
I want to create a website where someone can create their own custom version of android operating system for their phone/tablet from a list of choices. I want them to select a device, choose things like Launcher/Clock/Theme etc. from dropdown boxes, select checkboxes for additional applications, and then the site will build a flashable .zip file using the selected components.
I will have a clean base file for each device, as well as all the optional components, but i need code to create a copy of that base, rename it based on the username of the creator, and add all of the selected files into the copy. the site will then direct the user to a download link for that file, and after the download is complete (maybe wait an extra hour or so in case they need to redownload) it will delete this custom file.
I found this site (http://us2.php.net/manual/en/ziparchive.addfile.php) which gives some basic instructions on modifying a zip file, how could this be modified to add files based on peoples selections on the site?
the files i need to add would be a few directories deep inside the .zip if that makes a difference.
I can upload an example .zip file if necessary.
I want to create a website where someone can create their own custom version of android operating system for their phone/tablet from a list of choices. I want them to select a device, choose things like Launcher/Clock/Theme etc. from dropdown boxes, select checkboxes for additional applications, and then the site will build a flashable .zip file using the selected components.
I will have a clean base file for each device, as well as all the optional components, but i need code to create a copy of that base, rename it based on the username of the creator, and add all of the selected files into the copy. the site will then direct the user to a download link for that file, and after the download is complete (maybe wait an extra hour or so in case they need to redownload) it will delete this custom file.
I found this site (http://us2.php.net/manual/en/ziparchive.addfile.php) which gives some basic instructions on modifying a zip file, how could this be modified to add files based on peoples selections on the site?
the files i need to add would be a few directories deep inside the .zip if that makes a difference.
I can upload an example .zip file if necessary.