Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1024327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T11:45:46+00:00 2026-05-16T11:45:46+00:00

We are creating a php script project; which we will be selling to customers.

  • 0

We are creating a php script project; which we will be selling to customers.
The customers can host the script on their web server.

We would like to develop an update or upgrade process for this script.
Means if a customer is using the version 1.2 of the script and we have released the new version 1.3 of the script, the users will be able to see a text saying “new version is available” in the backend control panel.

The user can than go to update or upgrade page and hit a button to auto update the script.
I can understand that this process will involve the following things:
1. A process to check the current version of the script available from our home website.
2. File update process: download and update the required files from my server on the client server.
3. Make required database changes: Download the upgrade sql file from my home server and run it against the database.

I tried google to find a good start up tutorial to give me a kick start and to verify if I am missing something but I am not able to find anything.
Can you point me to some kick start tutorials or guide about developing or managing update process of a script?
I know that all major open source scripts like WordPress, Joomla, osCommerce, Magento have this facility. So there must be resources available for this on the internet.

Thank you for our time.. have fun! 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T11:45:46+00:00Added an answer on May 16, 2026 at 11:45 am

    Does this realy need a tutorial ? just bring your editor and start coding, if i were you, here’s the way i’ll be doing it:

    • In order to manipulate them, all your files need to be chmoded 777 (if unix).
    • create a file, say updater.php
    • that file will connect to your website (through curl for example) and check whether an update is available.
    • server side, consider making a manifest file with paths to files to be replaced + an SQL file with database changes + the replacing files and package all that in a tar (or zip).
    • make your updater.php script download that archive and store it in a local directory say ‘temp’.
    • updater.php will have to uncompress (using php’s zip extension for example) to ./temp/files
    • updater.php will have to use ./temp/files/manifest in order to find and replace files
    • before replacing do some file integrity checks and be sure the files have not been changed (compare checksums).
    • check database too, before making any changes.
    • if all is OK, commit changes.
    • remove temp data.
    • that’s all.

    you can add backup support to restore working copy if it fails.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am creating a php backup script that will dump everything from a database
I am creating a program that communicates with a PHP script on a web
I'm doing a little home computing project in PHP and am creating references like
I am creating a php script that would be called as a cron job.
I have a PHP script which checks on a _SESSION variable (upon creating a
I am creating quite a complex web application. I like to use php to
For my current project, I am creating a php script that allows our Instructors
I am creating a simple Web Application in PHP for my college project. I
Using php, I'm trying to create a script which will search within a text
I am having problems creating a simple PHP script. The $_GET[give] variable is always

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.