Php notes for Professionals


Chapter 1: Getting started with PHP


Download 3.48 Mb.
Pdf ko'rish
bet43/43
Sana23.11.2023
Hajmi3.48 Mb.
#1795558
1   ...   35   36   37   38   39   40   41   42   43
Bog'liq
PHPNotesForProfessionals

Chapter 1: Getting started with PHP
PHP 7.x
Version Supported Until Release Date
7.1
2019-12-01
2016-12-01
7.0
2018-12-03
2015-12-03
PHP 5.x
Version Supported Until Release Date
5.6
2018-12-31
2014-08-28
5.5
2016-07-21
2013-06-20
5.4
2015-09-03
2012-03-01
5.3
2014-08-14
2009-06-30
5.2
2011-01-06
2006-11-02
5.1
2006-08-24
2005-11-24
5.0
2005-09-05
2004-07-13
PHP 4.x
Version Supported Until Release Date
4.4
2008-08-07
2005-07-11
4.3
2005-03-31
2002-12-27
4.2
2002-09-06
2002-04-22
4.1
2002-03-12
2001-12-10
4.0
2001-06-23
2000-05-22
Legacy Versions
Version Supported Until Release Date
3.0
2000-10-20
1998-06-06
2.0
1997-11-01
1.0
1995-06-08
Section 1.1: HTML output from web server
PHP can be used to add content to HTML files. While HTML is processed directly by a web browser, PHP scripts are
executed by a web server and the resulting HTML is sent to the browser.
The following HTML markup contains a PHP statement that will add 
Hello World
!
to the output:
DOCTYPE html
>
<
html
>
<
head
>
<
title
>
PHP
!title
>
head
>
<
body
>
<
p
>
 
echo
"Hello world!"
;
?>
p
>
body
>
html
>
When this is saved as a PHP script and executed by a web server, the following HTML will be sent to the user's
browser:




GoalKicker.com – PHP Notes for Professionals
3
</b>PHP!<b>



Hello world!

Hello, World! Hello, World! This is the email message body
This paragraph is bold.
This text is
italic.

This paragraph is bold.
This text is
italic.

This paragraph is bold.
This text is
italic.

Hello world!

Download 3.48 Mb.

Do'stlaringiz bilan baham:
1   ...   35   36   37   38   39   40   41   42   43




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling