I have a simple php script that allows me to add subdomains to a text file. Ideally, When I access the script in the browser the subdomains are created and at that time files are copied to each subdomain that is added from the text file.
The script is very close to working. I run the script and instead of just copying the files I add to the subskeleton folder in the script, it copies all files in public_html. I need it to just create the subs and to only add the files in the subskeleton folder in the script. If you believe you can get this script fixed then please bid.
To make a little clearer, The script contains 1 folder and 2 files.
One folder is a folder named subskeleton. In This folder I input the files I want copied to each subdomain.
The first file is a makesubs.txt file. This file I input the subdomains that I want created.
The second file is the makesubs.php file. This file I input The cpanel information where the script is located. I should be able to access this file in my browser and it should make the subs from the text file and copy the files in the subskeleton folder to each sub.