How can I use PHP to create a subdomain?
I've googled and found a couple of solutions. The problem is that those solutions require direct access to Apache, which I do not have (I'm reselling hosting).I want to have a PHP script that creates a subdomain and gives FTP access using the subdomain. Alternatively, if there'd be a way to just have FTP access given _without_ a subdomain, that would work as well. My goal is to create a free webhosting plan and have it automated.
I have access to PHP and CPanel to make this happen. I can also talk to a guy who's a level higher up who has access to Webhost Manager and maybe to Apache, if anyone has any solutions which I would require him to do a few things to get working.