I need a simple php script written that will consist of a form with fields. The form should be accessible via an admin area.
Preview site name
On submit the script will create a directory called "$Preview site name" & copy files from another defined location to this directory.
'Preview site name', 'URL1' & 'URL2' should be stored in a database.
One of the files that will be copied has 2 lines like
<iframe src="[url removed, login to view]" ></iframe>
Instead of having a fixed URL it should use URL1 & URL2 from the database.
Admin should also see list of all "preview site names" that have been created, the URL's assigned to them and be able to delete them (which will delete all folder/files for any particular name that was created by this script.