Dynamic Content and the Web

1. HTTP and the Internet:
HTTP (HyperText Transfer Protocol) is a function to determine how the Web Page to make a transfer to the Internet. It's a Method which is used to transmit the information to the World Wide Web. The main purpose of it is to provide a path to Publish and Retrieve HTML pages.

World Wide Web Consortium (W3C) and
Internet Engineering Task Force are working together to create a HTTP. And it's Protocol in the Connect to Clients and Servers to work Request and Response Information. Generally Client is always use Web Browser is called User Agent, but the Destination Server that Store or Create Resources such as HTML Files, Images, is called Origin Server.

2. PHP, MySQL and Apache:
PHP is a programming language that is Design to Generate a web page associated with the Web Server. PHP is hereinafter referred to as Personal Home Page, but up to now it has been defined as PHP: Hypertext Preprocessor. PHP is the same process with Microsoft ASP.NET.

MySQL is a database of Open Source Family, which has always been used on a regular basis with PHP. PHP Web Application Development is important, but it can not be self-Store Information Database for working with it. MySQL is a database that competes with Microsoft's other Database is SQLSever.

Apache Web Server is a function Turn Browser request to result in web pages, and know how to Process PHP Code. PHP Programming Language, but just will not travel at all if no Apache Web Server to Handle behind. Product other than Apache is IIS (Internet Information Services), which is Microsoft's Product and process the same as the Apache.

3. Components of a PHP Application:
To process and create a Dynamic Web Pages is requires us to understand and to use certain Technologies, with key 3 is:
1. Web Server
2. Server-side Programming Language
3. Database

It also requires some Language:
> HTML
> CSS
> JavaScript, ...

4. Requesting Data From a Web Page:

Browser With Dynamic Web Page (PHP+MySQL+Apache) 

5. PHP Hello World:

<!DOCTYPE html>
<html>
<body>

<?php
echo "My first PHP script!";
?>


</body>
</html>



6. Practice:

Write PHP code to display the output as follows: