here is a listing of the php script to copy a directory structure and prefix all the tables (you need to register to see it):
I have used webERP on my own site www.eldwick.org.uk, more as an example of what can be done with online databases than for real. However I decided that I might as well put my money where my mouth is and start using it for my own accounts. Also I wanted to suggest it for routine accounts for an organisation I do some work for www.wwoof.org but both locations are on shared hosts and both have limited MySQL db allocations.