I am looking to write a program that I can host on my server, and include somehow onto other websites that I design. This way if I update the program ALL of my other sites will be upgraded instantly. I want to simply drop in a config file with the site's specific information and an include to the PHP on my server.
Is this possible?
If so, can I place security on the PHP file on my server saying only certain IPs/domains are allowed to read it so that not everyone can include it. Otherwise can I make some global hash in the config file to compare with a hash in the file on my server?
Thanks in advance,
Tom