In my php coding, by means of URL, it identifies the company.
For example, if company name is comp1 then it's url will be www.comp1.com
and for comp2 www.comp2.com
It will automatically put company_id
in session by URL.
Problem
Do I need to copy entire code of comp1 to comp2 to establish new company? Is there any way to do this kind of thing? I can not redirect URL. Because it will change URL after redirecting. Database will be same for every companies.
Let me know if you need more information. Thank you.