Running a constantly updated script

shakshoka

New Member
I have a PHP script that I keep updated and need to run on several servers to gather data based on config files like php ini, phpinfo, and other config files. I need to make sure that what's run is always the latest version of the script but this creates an annoying maintenance problem because the script is always being updated. So I'd like to store the PHP script in another central location and have a generic script that never changes on the server of interest. The generic PHP script sends data to the central script and gets feedback without me having to visit the server to change the code to the new script. How can this be done? Is this an API? and what's the best way to do it? I'm using PHPIf I'm not explaining the problem clearly, please ask me if there's something that's not clear.
 
Back
Top