Automatic site updates (version upgrade of PHP files)
Posted: Wed Jun 11, 2008 3:34 pm
Hello, do you know how can I implement site auto-updates, similar to what some forums have?
For example, Simple Machines (SMF) forums have this feature, where the admin panel informs that a new version is out, and offers to autoupdate from the official servers.
So, how is this done? I'd need a way to get a PHP script to automatically download a package from a different server, unzip it, and overwrite the relevant PHP files of the server.
I hope you can help me.
Thank you!
For example, Simple Machines (SMF) forums have this feature, where the admin panel informs that a new version is out, and offers to autoupdate from the official servers.
So, how is this done? I'd need a way to get a PHP script to automatically download a package from a different server, unzip it, and overwrite the relevant PHP files of the server.
I hope you can help me.
Thank you!