[PHP] Auto update feature from PHP app - like antivirus definitions

2004-01-27 Thread Terence
Hi,

Has anyone ever tried to produce an auto-update feature for your PHP
application?
Say a client downloads version 1, and a month later version 1.1 is
available, which makes
changes to a few scripts say, add_user.php, modify_user.php and
display_users.php

Does anyone have a method or way in which these scripts (say the source is
available from the
project homepage via a URL - something like
http://theproject/updates/version1.1/add_user.php.gz) can
be downloaded and replace the current one on the client's server? Just
theory or a finger
to point me in a general direction would be great.

Hope this makes sense.

Thanks
Terence

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Auto update feature from PHP app - like antivirus definitions

2004-01-27 Thread Vincent DUPONT
Maybe a PEAR package do do the trick. Have a look at PEAR_PackageFileManager on 
http://pear.php.net/package/PEAR_PackageFileManager

I never used it, but plan to do.
I you use it, please keep me informed

Maybe you could have something more trivial if you just need to download a single file.

Vincent

-Original Message-
From: Terence [mailto:[EMAIL PROTECTED]
Sent: mardi 27 janvier 2004 9:17
To: [EMAIL PROTECTED]
Subject: [PHP] Auto update feature from PHP app - like antivirus
definitions


Hi,

Has anyone ever tried to produce an auto-update feature for your PHP
application?
Say a client downloads version 1, and a month later version 1.1 is
available, which makes
changes to a few scripts say, add_user.php, modify_user.php and
display_users.php

Does anyone have a method or way in which these scripts (say the source is
available from the
project homepage via a URL - something like
http://theproject/updates/version1.1/add_user.php.gz) can
be downloaded and replace the current one on the client's server? Just
theory or a finger
to point me in a general direction would be great.

Hope this makes sense.

Thanks
Terence

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php