Jump to content

php cms automatic updates


aggrav8d

Recommended Posts

Hi, phpfreaks.

 

I'm looking for a nice way to automatically update copies of my CMS as they become available.  I see a lot of CMS leave it in the hands of the maintainer - from checking for updates all the way to patching the system.  Is this really the best way?  Surely there's a method that can simplify this for everyone.

 

Please give me the benefit of your experience.

Link to comment
Share on other sites

I used to use a forum software that would advice you when new releases were available. In the admin area there was some script that would pull details from the domain that promoted the software checking the current version with the working version. They could then download new updates from there.

 

The updates would still need to be uploaded and an update script run.

Link to comment
Share on other sites

I'll see if I have an old version lying around and have a look...

 

 

 

 

...here we go

 

$currversion = explode("|", @file_get_contents("http://www.flexbb.net/public/currentversion.txt"));

 

That's the line that did it for them

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.