I need a file update check for a php-system, where the system gets a file from another server (internet, not intranet), and compares the two file versions defined in the two files, where the first file already lies on the first server, and the second file is the one on the other server.
E.g. file one:
And e.g. file two:
The system then prints a text string (for example) where it says that there's a new version of the system. I've seen this in the phpBB2 code, though I can't "decode" the code in my head, and can't convert it into the correct version I need.
Note, that the system should also print a message, if the system is up-to-date (just add an } else {?)
Anybody that can help me with this one?