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

  • SEARCH
  • Home
  • 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 627991
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T19:35:18+00:00 2026-05-13T19:35:18+00:00

I’ve got an updater.php script located on several of my sites. This updater.php file

  • 0

I’ve got an updater.php script located on several of my sites. This updater.php file is set to execute code when called from a home base (my central server).

So I’m looking to create a dashboard of sorts in which all my remote site addresses are listed, with the path to this updater.php script like so…

www.server1.com/path/updater.php
www.server2.com/path/updater.php
www.server3.com/path/updater.php
...etc (there will be lots of them)

And I’ll create an interface to list those along with checkboxes beside each one, and a select all, etc

And I’m looking to create a PHP script that will iterate over the whole collection of urls in that list and execute the call to the updater.php file on each server, passing it a “version=v001” for example…

$.get("http://server1.com/path/updater.php?version=v001");
$.get("http://server2.com/path/updater.php?version=v001");
...etc

I’ve already set up the code in updater.php (the file that resides in all my sites) so that when it receives a request, it parses the $_GET[‘version’] to see what the version is and it knows which file to go get on my central server to perform the update.

I’m just looking for some clues how to create the script for this dashboard that sets it all into motion…

PS: In total, this is basically a batch updater script that executes wordpress theme updates without having to go to each site and do them individually.

  • 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-13T19:35:18+00:00Added an answer on May 13, 2026 at 7:35 pm

    You might wanna check PHP’s cURL extension which allows you to send request to multiple sites within your script quite easily.

    If you need further assistance, let me know – I’ll edit.

    EDIT

    You could use one of the javascript frameworks that would allow you to easily manage your AJAX calls (i.e. jQuery – imho the most stringent). Then do something similar to:

    <form name="updater" id="updater" ...>
        <input type="checkbox" name="server[]" value="0"/> Server 1
        <input type="checkbox" name="server[]" value="1"/> Server 2
        ...
    </form>
    
    <script type="text/javascript">
        var server_url = [
            'www.server1.com/path/updater.php',
            'www.server2.com/path/updater.php',
            'www.server3.com/path/updater.php'
        ];
    
        $('#updater').bind('submit', function() {
            $('input[name="server[]"]:checked', this).each(function() {
                $.get(server_url[this.value]);
            });
        });
    </script>
    

    Here you go!

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

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
Does anyone know how can I replace this 2 symbol below from the string
I have this code to decode numeric html entities to the UTF8 equivalent character.
I've got a string that has curly quotes in it. I'd like to replace
I want use html5's new tag to play a wav file (currently only supported
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I am currently running into a problem where an element is coming back from

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.