I am building a project that will be sold to many clients / businesses.
The project will sit on my website in folders like (examples)
/jones
/acme
/microsoft
/intel
I am creating a separate database for each project and then manually modifying the /includes/dbcommon.php to point to the right database.
In this way I hope to only maintain one phprunner project and just copy it to each folder.
PROBLEM... I have tested this and if I log in at /jones version and then just change the URL to /acme version I can see all THEIR DATA...
How can I keep these different projects separate.
Or to answer another question - how do you build software that you plan to clone without users be able to change URL and access data they should not be seeing?
There has to be a way to keep these sessions separate??