I have an PHP script which does following work -
Creates an sub domain ,
Copies files to new directory and copies database and then redirect to the newly created script.
The application copied is opencart.
Before script was working fine in but now there is some issues in the script an its not working so I want some one to fix same,.