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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:03:38+00:00 2026-05-23T22:03:38+00:00

Is there a way to use a PHP script in a website to verify

  • 0

Is there a way to use a PHP script in a website to verify that a given visitor has a broadband connection (some minimum downstream kbs ) before proceding to render certain or all elements of a webpage?

  • 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-23T22:03:38+00:00Added an answer on May 23, 2026 at 10:03 pm

    Let’s see…

    When the client requests page #1, store the timestamp in the session. Add some JavaScript to page #1, so that the client would start downloading a large file (say, 5MB) as soon as the page is loaded, and then request page #2 as soon as the download has completed. It should be all AJAX, so that everything happens in the background.

    Now, page #2 compares the current timestamp with the original timestamp stored in the session. The difference would tell you roughly how long it took for the client to download the large file. If you’re satisfied with the speed, you send more page elements via AJAX again.

    But this is a bad idea.

    Not only does this method require transferring an unnecessary file (which can cost extra money for mobile clients), but it’s also extremely unreliable. Latency (think “ping”) between the client and the server, CPU usage on the client side, congestion on the wire, and myriad other factors will affect the download time. You might as well just send the real content in the time it takes to run the speed test.

    In conclusion, there’s no way to do it. Just render a reasonably sized version of the page, and load large elements (such as videos) only after the client clicks something. If anybody is still on dial-up, hopefully they’ll know not to click on videos.

    • 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 use form fields that does not correspond to database
In my website I've a php script that launches a file download without showing
I am writing a simple PHP script that make use of DB to export
I'm currently developing a website that will make use of PHP scripts and I'd
Is there any way to use inheritance in database (Specifically in SQL Server 2005)?
Is there a way to use JQuery to cloak or encrypt email addresses on
Is there any way to use a constant as a hash key? For example:
Is there a way to use constants in JavaScript ? If not, what's the
Is there any way to use C# to build a container application where each
Is there a way to use .NET reflection to capture the values of all

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.