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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T11:25:55+00:00 2026-06-09T11:25:55+00:00

I am a newbie at web programming. I have basic PHP programming skills. From

  • 0

I am a newbie at web programming. I have basic PHP programming skills.

From what I understand about PHP is, it runs on the server side and generates a HTML code, server-side PHP script ends, and then that generated HTML code is sent to us (us = browsers of the clients). But in some webpages (programmed with PHP) which I encounter on the internet, the server-client interaction keeps running silently at the background even a long time after the page had completed loading.

For example, in the Stack Exchange communities, when I am viewing new questions I see that the vote counts are changing (as other users vote) without refreshing the page. This indicates that a background script is communicating with a database, right?

Are these kind of pages implemented by pure PHP?
If yes, I thought PHP script had to finish at the server side before the generated HTML code to be sent. What is the secret of this method?
If no, what additional programming languages and/or web technologies do I have to study to learn it? Do they combine another technologies with PHP?

Please guide me on this.

  • 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-09T11:25:57+00:00Added an answer on June 9, 2026 at 11:25 am

    You are asking about means to an end (how to make pages dynamic) when is seems what you need to know about is an end (dynamic pages).

    You are basically correct about how PHP works.

    From what I understand about PHP is, it runs on the server side and
    generates a HTML code, server-side PHP script ends, and then that
    generated HTML code is sent to us (us = browsers of the clients).

    However, you overlooked a thing about how webpages work: for the server to send anything, a webpage for instance, there must be request from the client. Therefore, it would be more appropriate to ask how the server can do this without a request from the client.

    To answer some of your questions:

    Are these kind of pages implemented by pure PHP? –> No it isn’t.

    If no, what additional programming languages and/or web technologies do I have to study to learn it? –> Rather than particular PLs or technologies it would be wiser to think in the lines of “How can the server initiate communication with the client (browser/page)?” (or make it appear as though) as this is the “secret” (or more appropriately the key) in implementing such pages. You can find a number of technologies, techniques, and combination of both that deals with this (push technology, long polling, ajax, etc.).

    Do they combine another technologies with PHP? –> Yes, as with most stuff on the web, dynamic pages are the combinations of a number of technologies and techniques.

    I believe you looked at what you want to accomplish on the wrong angle. Hope this gets you on track!

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

Sidebar

Related Questions

dear all.i newbie at web programming and until now i still have learn about
Newbie question: There are three types of Asp.Net controls : HTML server controls, Web
Introduction Hello. I am a newbie to PHP programming. I have know the basics
Pardon the dumb newbie question here; web programming isn't my forte... (blush) I have
i am a newbie on web development, so i have some problems first of
I am a newbie when it comes to Ruby On Rails (and web programming
I am a newbie in web services. I have a JAX-WS service which I
i'm newbie at web developing. i have some input form.i'm using jquery 1.4.2 inside
I'm newbie to BSD socket programming in C. I can query a web address
I am a newbie to the programming world. I have experiences of developing simple

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.