Re: PHP-Gtk use in companies

From: Date: Sun, 14 Nov 2004 13:00:41 +0000
Subject: Re: PHP-Gtk use in companies
References: 1 2 3 4 5  Groups: php.gtk.general 
Request: Send a blank email to php-gtk-general+get-5238@lists.php.net to get a copy of this message
This is actually all custom code not really based on any "standard". What it does is use cURL to check with the server to get the latest version. If the latest version is newer than the local version, it downloads a zip file from the server. This zip file contains a contents.xml file and all the changed files. The contents.xml file is basically the instructions to the updater. It lists all the changed files along with the md5's of the files. This allows the updater to detect which files are already up to date and to insure the contents of the zip are valid. It then simply overwrites the existing files if they need to be updated. There might be a better way to do the above, but it does the job so far so I haven't explored other solutions. Jeremy Johnstone http://www.jeremyjohnstone.com jsjohnst@php.net On Sun, 14 Nov 2004 13:43:19 +0100, Christian Weiske <cweiske@cweiske.de> wrote: > Hi Jeremy, > > > > 1.) Automatic Live Update via Internet. This allows the application to > > be updated via the web similar to how WindowsUpdate does for Windows. > > I also have a PHP shell script which automates the transfer of files > > from CVS, builds the update information package, and stores them on > > the update server for usage by the app. > > Which protocol do you use resp. which file format to discover if new > versions are available and where to download them? > > I did a similar thing for the php-gtk manual browser using the "XML > Aoftware Autoupdate" "standard". > > > Regards/MfG, > Christian Weiske > -- > XMMS is playing now: > Evanescence - My Last Breath > > >

« previous php.gtk.general (#5238) next »