Pixar/Hello,
Unfortunately this script is not that simple.
We will encounter these problems.
1) Drag and drop are not supported by old browsers we will need to generate a fallback for them.
2) Websites can be pretty big for example an average wordpress has over 20.000 files, the problem is not space but a high number of files beeing unziped can cause server overload problems. This meeans we need to generate a queue sistem that checks the archive and server load.
3) Most websites have databases that need to be uploaded separatly and exported to a certain database, also the form needs the login details and certain exceptions from bannerd usernames.
4) Expoits, it is very easy to add a php shell, spam script, scanning or ddos script to the .zip file, and leave all uploaded websites and server vulnerables. so all sistes need to be scanned before beeing posted
4.1) For security reasons you need PHP DSO with su_php to secure "php_userdir" for each subdomain.
4.2) Using DSO means that you can not just add a wildcard in dns and reolve the "subdomains" from .htaccess, we need to generate a "Add subdmaind" script.
5) Also you need a VPS/dedicated server to be able to make this work, I can help you with that.
6) I can do this only on Unix based OS, preferable CentOS / RedHat, also cPanel would help but other panels would work.
I have no more characters left. Please contact me if you are interested a colaboration, my Skype user is covacica.
Best regards,
Andrei Covaci