I am currently coding a Templates website, but I notice all other CSS Template sites have the option for live previews of EVERY template. I figure, they can't unzip and be making new directories and stuff for each template MANUALLY, how do I do this? Here's how my members are doing this:
The member goes into a page and fills out all the information about the template which goes into a database, as well as they pick the file to upload. The file then goes into a directory called /uploads/ . How do I take their .zip file and give a preview of the template? The file in each template is index.html .
The member goes into a page and fills out all the information about the template which goes into a database, as well as they pick the file to upload. The file then goes into a directory called /uploads/ . How do I take their .zip file and give a preview of the template? The file in each template is index.html .







