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 8651927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T14:11:16+00:00 2026-06-12T14:11:16+00:00

Is there a php script/snippets out there that allows you to check a URL/IP

  • 0

Is there a php script/snippets out there that allows you to check a URL/IP for connection speed. Say example the URL is http://www.example.com and when I run the php script it will display how long it took to connect (211ms) to the URL/IP, I found some scripts that just show me if it’s online or offline but not the speed it took.

I’m very aware of the free and paid services. I want create my own custom/private one to monitor my many servers and having trouble finding a simple script to connect to given locations.

  • 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-06-12T14:11:18+00:00Added an answer on June 12, 2026 at 2:11 pm

    Maybe something like:

    <?php
    // Create a curl handle
    $ch = curl_init('http://www.yahoo.com/');
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
    
    // Execute
    curl_exec($ch);
    
    // Check if any error occured
    if(!curl_errno($ch)) {
        $info = curl_getinfo($ch);
        echo 'Took ' . $info['total_time'] . ' seconds to send a request to ' . $info['url'];
    }
    // Close handle
    curl_close($ch);
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to make a countdown script with PHP? 4shared.com or megaupload.com
Wondering if there is any php script out there which takes an sql db
I have a simple image upload script that uses SimpleImage.php (http://www.white-hat-web-design.co.uk/blog/resizing-images-with-php/) to resize and
Is there any php script to find the name of the web server like
Is there any PHP script to convert XML file to DTD. I tried a
Is there anyway for this PHP script to know what are the scripts or
I red there's a limit for a PHP script to be executed and I
Is there a way to redirect output of an executing PHP script? Of course
Is there any security risk of injection in the following PHP script? <?php $empfaenger_1
I need to handle strings in my php script using regular expressions. But there

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.