I have a requirement where by a person visits the website and decides to buy membership.
Membership allows the person to have their own replicated website with the addition of the own URL with which to promote it.
The new website would contain a paypal email address allowing payments to be made directly to the new member.
A form on one of the webpages once the initial payment is received asks for the persons paypal email address which is then inserted into the the replicated website at the paypal pay button.
Once submitted the script will return the URL of the webpage to promote.
Its probably not necessary to rewrite a new webpage for each new signup, youd more than likely use something like:
[url removed, login to view]
where 87 would represent the variables that need to be used for that particular person whos signed up. This would be the URL that they promote.
Hope that this isnt too vague.