PHP
What is PHP, it's History, How it Works under the hood in web
Who is eligible for this course / Requirements
- Any person of any age is eligible
- Basic understanding about HTML
- Basic understanding about CSS
What is PHP and Who invented it
PHP Is a Server Side scripting language. PHP
's full form is - Hypertext Preprocessor
. It's nowadays one of the top programming language for web development and it's actually specially built for Web.
It's Inventor - Resmus Lerdorf who borns on 1968 and a Dutch Programmer. At 1994, He basically build this language first only for his Personal Homepage. You can get more about Lerdorf at Wikipedia.
How PHP Works
PHP is a server side scripting language. It stays on the server. let's clear some concept about server and client.
Client - We call our browser or Our PC a client. And a Browser can only work with some specific file like - HTML
, CSS
, JavaScript
, image
, pdf
etc. It can not work with any file like - php
, c#
, python
etc.
Server - When we request something to external link and get some response, that would be our server, which will serve those.
Steps how PHP Works:
Let's see a demo view first, then illustrate step by step -
- From browser or from our Client, we suppose search for - https://facebook.com
- When we hit this URL, it actually goes to a Server.
- Server then check if that file/resource exist on the server.
- Suppose, we request like https://facebook.com/index.php
- Here, index.php is a PHP file, which is in the servers location.
- Server then send this
index.php
file to a PHP interpretor. - PHP interpretor then interprets code line by line and make an HTML file equivalent to that PHP file.
- PHP can also work with some other stuff like - Database, File Management, Mailing etc.
- Ok, it has the HTML file after interpreting, then it send back to Client or Browser the HTML file.
- Browser then read the HTML file and display it to browser screen.
Let's see a final demo how PHP actually works -
Install PHP or Xampp in Windows / Linux / Mac - Easy PHP Server setup
All Tutorials in this playlist
Popular Tutorials
Categories
-
Artificial Intelligence (AI)
11
-
Bash Scripting
1
-
Bootstrap CSS
0
-
C Programming
14
-
C#
0
-
ChatGPT
1
-
Code Editor
2
-
Computer Engineering
3
-
CSS
28
-
Data Structure and Algorithm
18
-
Design Pattern in PHP
2
-
Design Patterns - Clean Code
1
-
E-Book
1
-
Git Commands
1
-
HTML
19
-
Interview Prepration
2
-
Java Programming
0
-
JavaScript
12
-
Laravel PHP Framework
37
-
Mysql
1
-
Node JS
1
-
Online Business
0
-
PHP
28
-
Programming
8
-
Python
12
-
React Js
19
-
React Native
1
-
Redux
2
-
Rust Programming
15
-
SEO - Search Engine Optimization
1
-
Tailwind CSS
1
-
Typescript
10
-
Uncategorized
0
-
Vue JS
1
-
Windows Operating system
1
-
Woocommerce
1
-
WordPress Development
2
Tags
- Artificial Intelligence (AI)
- Bash Scripting
- Business
- C
- C Programming
- C-sharp programming
- C++
- Code Editor
- Computer Engineering
- CSS
- Data Structure and Algorithm
- Database
- Design pattern
- Express JS
- git
- Git Commands
- github
- HTML
- Java
- JavaScript
- Laravel
- Mathematics
- MongoDB
- Mysql
- Node JS
- PHP
- Programming
- Python
- React Js
- Redux
- Rust Programming Language
- SEO
- TypeScript
- Vue JS
- Windows terminal
- Woocommerce
- WordPress
- WordPress Plugin Development