Jump to content

Creating an Auto update solution for my php application


atiq575

Recommended Posts

Hi Everyone!

 

We are working on an php based website and need to create an auto update script like word press or other php scripts out there. Script will reside on customer servers and want them to see some thing like (x) updates(s) available on there admin area, when ever we make changes on our source code here and make it available for update. How do we do that? Is there any open source scirpt that can help us to do this or if we have to write a custom script what are the things that we should focus on?

 

Thanks,

Atiq

I am trying to do some thing like discussed here : http://stackoverflow.com/questions/2313537/remote-update-of-multiple-sites-at-once-via-php

 

I have a set of code (files) that will be distributed to other customers, now if I update my code here, I want the customers code to be updated from my code through some script on there server.

 

Please advise

 

Atiq

If you will read on net, what wordpress does is , using your FTP information it change the permission of the folder and gives public write access till the script runs for copying the requisite files to the clients's folders or just replacing the contents on it. When ending up it must be changing the permission again as it was before like read and execute only.

 

If you do not get a ready made script, you may have to write a script of your own. 

 

      Hope this will help.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.