Aha! that sounds like just the job.
Thank you transom!
Ah, I’ve mis-explained what I want to do.
On the server there’s a folder called, say, /package/wordpress-install and in there are the files and folders needed to install wordpress. If a user wants to install wordpress they access a page a complete a form withe the title, user name and password ont. When they submit the form, the files get copied from /package/install to <UserHomePage/wordpress. the wp-config.php file gets modified to reflect the contents of the form and to add the unique database prefix and wordpress is then installed.
I think that explains it better, but I can’t be sure!
Simon.