random1 Posted July 1, 2008 Share Posted July 1, 2008 I have a PHP web app that uses mySQL (InnoDB engine), PHP 5 and Apache. I want this app to be able to have an built-in update feature. For example: Admin user logs in Message appears in box saying that "A new version ..... is available, would you like to update?" User clicks the link and downloads new/replacement files, relevant SQL scripts are run and then the user is notified that the "new version has been installed" Is this the best way to do this? Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/ Share on other sites More sharing options...
trq Posted July 2, 2008 Share Posted July 2, 2008 Is this the best way to do this? I would be more inclined to simply use patches rather than downloading the enitre application everytime something new is added / modified. Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/#findComment-579684 Share on other sites More sharing options...
random1 Posted July 2, 2008 Author Share Posted July 2, 2008 Hi, How would you recommend the patch is applied? Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/#findComment-579815 Share on other sites More sharing options...
gijew Posted July 2, 2008 Share Posted July 2, 2008 Just use XML to post the current version on your site and create a feed in the software that checks the user version. If it's different prompt to download the update/whatever... Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/#findComment-579816 Share on other sites More sharing options...
trq Posted July 2, 2008 Share Posted July 2, 2008 How would you recommend the patch is applied? Using patch. Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/#findComment-579986 Share on other sites More sharing options...
random1 Posted July 2, 2008 Author Share Posted July 2, 2008 Thanks Help much appreciated. Quote Link to comment https://forums.phpfreaks.com/topic/112855-solved-offering-an-update-feature/#findComment-580498 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.