How to have a PHP class in two PHP websites?
I have an IIS host that has many websites (+10). I then have a global share PHP directory. Each of those 10 sites can include/require my classes/functions/etc from the global PHP shared directory.
Is this really the right way to share my classes? It overall seems to work good. But my main issue is whenever I move code from one server to another I always manually need to go find the files from my shared function and copy/paste... Its not only more work. but can turn into a mess if I want to edit one of the copied versions and forgot to edit the other.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)