PHP in Web Applications
Learn how web applications use PHP and how it works with the web server as part of the LAMP stack.
The simplest way to make a website is to generate a bunch of static HTML files and serve them with an HTTP server. With static site generators, we can even make blogs as static websites. But, such websites are still limited to being read-only, and they can’t accept user input.
To overcome this limitation, we build applications that run on the server and process requests. We use PHP to make responses on the fly. For example, let’s make a website called “What Time Is It Right Now?” We don’t want to make a static website and update it every second, so let’s use PHP to generate a web page whenever the user requests the time.
Get hands-on with 1200+ tech skills courses.