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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

 

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.