SlideShare uma empresa Scribd logo
1 de 22
G. S. Mandal’s
MIT CIDCO, Aurangabad
Prepared by: Asst. Prof. Neha A. Sahuji
UNIT-I
Contents
 What is PHP
 Why PHP?
 Evolution of PHP
 Popular PHP sites
 PHP is the abbreviation of Hypertext
Preprocessor.
 Earlier it was abbreviated as Personal
Home Page.
 PHP is the most popular and widely
used server side scripting language for
web development.
? Why PHP is called
Hypertext
Preprocessor?
? What does it mean by
Scripting Language?
• PHP is called hypertext preprocessor
because PHP libraries are already
compiled and processed.
• When any person request any PHP page
in browser address bar that request first go
to server.
• For example Apache is running on that
server then server interpret PHP files and
return back response in form of HTML.
 In simple terms, programming
languages are set of instructions or
code which tells a computer what it
needs to do.
 So basically, we provide a logic or
instruction to the computer to perform
some task to get the desired output
from it.
 When we need to write a CD or burn a
CD or when we need to paste
something in pen drive these all
instruction is given through some
 As the name suggest, it’s all about giving the script
to perform some certain task.
 Scripting languages are basically the subcategory
of programming languages which is used to give
guidance to another program or we can say to
control another program,
 So it also involves instructions. It basically connects
one language to one another languages and
doesn’t work standalone.
 Javascript, PHP, Perl, Python, VBScript these all
are the examples of scripting language.
 Scripting languages need to be interpreted
(Scanning the code line by line, not like compiler in
one go) instead of compiled.
 Markup languages are completely different from
programming languages and scripting languages.
 Markup languages prepare a structure for the
data or prepare the look or design of a page.
 These are presentational languages and it
doesn’t include any kind of logic or algorithm, for
example, HTML.
 HTML is not asking any kind of question to the
computer or it’s not comparing things and it’s not
asking any logical question. It’s just used to
represent a view inside a web browser.
 PHP files can contain text, HTML,
JavaScript code, and PHP code.
 PHP code is executed on the server,
and the result is returned to the
browser as plain HTML.
 PHP files have a default file
extension of ".PHP"
 PHP can generate the dynamic page
content.
 PHP can create, open, read, write, and close
files on the server.
 PHP can collect form data.
 PHP can send and receive cookies.
 PHP can add, delete, modify data in your
database.
 PHP can restrict users to access some
pages on your website.
 PHP can encrypt data.
 With PHP you are not limited to output
 PHP is open source and free.
 Short learning curve compared to other
languages such as JSP, ASP etc.
 Large community document
 Most web hosting servers support PHP by
default unlike other languages such as ASP
that need IIS. This makes PHP a cost
effective choice.
 PHP is regular updated to keep abreast with
 PHP has in built support for working hand
in hand with MySQL; this doesn’t mean you
can’t use PHP with other database
management systems. You can still use
PHP with
Postgres
Oracle
MS SQL Server
ODBC etc.
 PHP is cross platform; this means you can
deploy your application on a number of
 PHP or Hypertext Preprocessor was developed
by an employed Danish programmer, Rasmus
Lerdorf out of Toronto in Canada in 1994.
 Released to the public in 1995 with the name
Personal Home Page tools.
 It was then rewritten in 1996 by Zeev Suraski
and Andi Gutman who launched it as PHP3.
 In 2000, PHP4 was released incorporated into
a scripting engine followed by 3 more major-
version and few subversions until the latest
version PHP7.0 was released in 2015.
 It gained popularity over the years owing to it
being open source and allowing other
programmers to use the language on their own
unitI-Introduction to php.pptx
unitI-Introduction to php.pptx

Mais conteúdo relacionado

Semelhante a unitI-Introduction to php.pptx

Semelhante a unitI-Introduction to php.pptx (20)

PHP AND ITS IMPORTANCE
PHP AND ITS IMPORTANCE PHP AND ITS IMPORTANCE
PHP AND ITS IMPORTANCE
 
PHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor IntroductionPHP: Hypertext Preprocessor Introduction
PHP: Hypertext Preprocessor Introduction
 
t1837
t1837t1837
t1837
 
t1837
t1837t1837
t1837
 
PHP TRAINING
PHP TRAININGPHP TRAINING
PHP TRAINING
 
PHP Web Development.pdf
PHP Web Development.pdfPHP Web Development.pdf
PHP Web Development.pdf
 
PHP
PHPPHP
PHP
 
Php
PhpPhp
Php
 
PHP.docx
PHP.docxPHP.docx
PHP.docx
 
Programming language
Programming languageProgramming language
Programming language
 
chapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdfchapter 5 Server-Side Scripting (PHP).pdf
chapter 5 Server-Side Scripting (PHP).pdf
 
PhP Training Institute In Delhi
PhP Training Institute In DelhiPhP Training Institute In Delhi
PhP Training Institute In Delhi
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
PHP Training In Chandigar1.docx
PHP Training In Chandigar1.docxPHP Training In Chandigar1.docx
PHP Training In Chandigar1.docx
 
PHP Training Institute In Delhi.pptx
PHP Training Institute In Delhi.pptxPHP Training Institute In Delhi.pptx
PHP Training Institute In Delhi.pptx
 
Php presentation
Php presentationPhp presentation
Php presentation
 
PHP presentation
PHP presentationPHP presentation
PHP presentation
 

Mais de nehasahuji

Intro Ch 07B.ppt
Intro Ch 07B.pptIntro Ch 07B.ppt
Intro Ch 07B.pptnehasahuji
 
unit-1_lect-02.pptx
unit-1_lect-02.pptxunit-1_lect-02.pptx
unit-1_lect-02.pptxnehasahuji
 
UNIT-1 LEC-03.pptx
UNIT-1 LEC-03.pptxUNIT-1 LEC-03.pptx
UNIT-1 LEC-03.pptxnehasahuji
 
Day-04 (1).pptx
Day-04 (1).pptxDay-04 (1).pptx
Day-04 (1).pptxnehasahuji
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxnehasahuji
 
3Tier_Architecture.pptx
3Tier_Architecture.pptx3Tier_Architecture.pptx
3Tier_Architecture.pptxnehasahuji
 

Mais de nehasahuji (6)

Intro Ch 07B.ppt
Intro Ch 07B.pptIntro Ch 07B.ppt
Intro Ch 07B.ppt
 
unit-1_lect-02.pptx
unit-1_lect-02.pptxunit-1_lect-02.pptx
unit-1_lect-02.pptx
 
UNIT-1 LEC-03.pptx
UNIT-1 LEC-03.pptxUNIT-1 LEC-03.pptx
UNIT-1 LEC-03.pptx
 
Day-04 (1).pptx
Day-04 (1).pptxDay-04 (1).pptx
Day-04 (1).pptx
 
Data Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptxData Abstraction and Independance (1).pptx
Data Abstraction and Independance (1).pptx
 
3Tier_Architecture.pptx
3Tier_Architecture.pptx3Tier_Architecture.pptx
3Tier_Architecture.pptx
 

Último

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdfssuserdda66b
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxEsquimalt MFRC
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 

unitI-Introduction to php.pptx

  • 1. G. S. Mandal’s MIT CIDCO, Aurangabad Prepared by: Asst. Prof. Neha A. Sahuji UNIT-I
  • 2. Contents  What is PHP  Why PHP?  Evolution of PHP  Popular PHP sites
  • 3.
  • 4.  PHP is the abbreviation of Hypertext Preprocessor.  Earlier it was abbreviated as Personal Home Page.  PHP is the most popular and widely used server side scripting language for web development.
  • 5. ? Why PHP is called Hypertext Preprocessor? ? What does it mean by Scripting Language?
  • 6. • PHP is called hypertext preprocessor because PHP libraries are already compiled and processed. • When any person request any PHP page in browser address bar that request first go to server. • For example Apache is running on that server then server interpret PHP files and return back response in form of HTML.
  • 7.
  • 8.  In simple terms, programming languages are set of instructions or code which tells a computer what it needs to do.  So basically, we provide a logic or instruction to the computer to perform some task to get the desired output from it.  When we need to write a CD or burn a CD or when we need to paste something in pen drive these all instruction is given through some
  • 9.  As the name suggest, it’s all about giving the script to perform some certain task.  Scripting languages are basically the subcategory of programming languages which is used to give guidance to another program or we can say to control another program,  So it also involves instructions. It basically connects one language to one another languages and doesn’t work standalone.  Javascript, PHP, Perl, Python, VBScript these all are the examples of scripting language.  Scripting languages need to be interpreted (Scanning the code line by line, not like compiler in one go) instead of compiled.
  • 10.  Markup languages are completely different from programming languages and scripting languages.  Markup languages prepare a structure for the data or prepare the look or design of a page.  These are presentational languages and it doesn’t include any kind of logic or algorithm, for example, HTML.  HTML is not asking any kind of question to the computer or it’s not comparing things and it’s not asking any logical question. It’s just used to represent a view inside a web browser.
  • 11.  PHP files can contain text, HTML, JavaScript code, and PHP code.  PHP code is executed on the server, and the result is returned to the browser as plain HTML.  PHP files have a default file extension of ".PHP"
  • 12.
  • 13.
  • 14.  PHP can generate the dynamic page content.  PHP can create, open, read, write, and close files on the server.  PHP can collect form data.  PHP can send and receive cookies.  PHP can add, delete, modify data in your database.  PHP can restrict users to access some pages on your website.  PHP can encrypt data.  With PHP you are not limited to output
  • 15.
  • 16.  PHP is open source and free.  Short learning curve compared to other languages such as JSP, ASP etc.  Large community document  Most web hosting servers support PHP by default unlike other languages such as ASP that need IIS. This makes PHP a cost effective choice.  PHP is regular updated to keep abreast with
  • 17.  PHP has in built support for working hand in hand with MySQL; this doesn’t mean you can’t use PHP with other database management systems. You can still use PHP with Postgres Oracle MS SQL Server ODBC etc.  PHP is cross platform; this means you can deploy your application on a number of
  • 18.
  • 19.
  • 20.  PHP or Hypertext Preprocessor was developed by an employed Danish programmer, Rasmus Lerdorf out of Toronto in Canada in 1994.  Released to the public in 1995 with the name Personal Home Page tools.  It was then rewritten in 1996 by Zeev Suraski and Andi Gutman who launched it as PHP3.  In 2000, PHP4 was released incorporated into a scripting engine followed by 3 more major- version and few subversions until the latest version PHP7.0 was released in 2015.  It gained popularity over the years owing to it being open source and allowing other programmers to use the language on their own