I created a product using php that I want to put on a website, but before I can do that I have to get it to update automatically. For example I have version 1.0 and there is a new version 1.2 it has to automatically ask the user to update and update if he/she has chosen to. I have part of the code to show the newest version:
$newest_version = '1.2.0';
$old_version = '1.1.0';
So actually I want it to do:
Ask the user if he/she want to update their version of the product.
Update the version if the user selected to.
Check for newer version every couple of minutes/seconds.
Basically:
Let the user upgrade their installations of my product automatically.(With PHP)