SlideShare a Scribd company logo
Introduction to PHP
Meenu Dogra
(Director and Co-founder of Techsters Web Pvt. Ltd.)
 Experience of 6+ Years in IT Development.
 Specialized in
 PHP (Codeigniter, Cakephp, Laravel, Wordpress).
 Jquery and Angular Js
 Css and Bootstrap
 Amazon web services
 Mobile API’s
Client and Server
Features
Stands for HyperText Preprocessor
Server side scripting language
Open Source
faster than other scripting language e.g. asp and jsp
Cross Platform Compatibility
Error Reporting
Case Sensitive
Uses of PHP
It is used for create dynamic website.
It is used for send and receive e-amils
PHP to find today's date, and then build a calendar for the month
Using php you can count your visitors on your website
Using php you can create login page for your user
Access cookies variables and set cookies
Using php you can add, delete, modify elements within your database thru PHP
Using PHP, you can restrict users to access some pages of your website
It can encrypt data
PHP performs system functions, i.e. from files on a system it can create, open,
read, write, and close them
Installation
• Installing Apache, MySQL, PHP as a package
WAMP for Windows
LAMP for Linux
MAMP for Mac
XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform: It
includes some other components too such as FileZilla, OpenSSL,
Webalizer, OpenSSL, Mercury Mail etc.
Syntax
PHP code is start with <?php and ends with ?>
Every PHP statements end with a semicolon (;).
PHP code save with .php extension.
<?php
// php statement
?>
Echo
• Echo is used to print anything on webpage
echo “Hello example”;
Print
• Print is used to print anything on webpage
print “Hello example”;
Differene between echo and print
Echo
echo can pass multiple string separated as ( , )
echo doesn’t return any value
echo is faster then print
Print
using print can doesn’t pass multiple argument
print always return 1
it is slower than echo
Thank You
SCO 194, 1st Floor, Sector 16 Panchkula

More Related Content

PPT
Caching strategy and apc
PPT
Server-Side JavaScript
ODP
Top 10 WordPress Plugins
PDF
Scale with Microservices
ODP
Top 10 WordPress Plugins
PPTX
Speed up with hiphop php 2014 01-22
PPTX
Wordpress customer support
PPT
Mambo (2006) Presentation on CMS
Caching strategy and apc
Server-Side JavaScript
Top 10 WordPress Plugins
Scale with Microservices
Top 10 WordPress Plugins
Speed up with hiphop php 2014 01-22
Wordpress customer support
Mambo (2006) Presentation on CMS

What's hot (19)

DOC
Php sessions
PPTX
Lenguajes y plataformas de desarrollo
ODP
WordPress Security & Backup
PDF
FaaStRuby
PPT
Mashup Server 2.0 Briefing
PPT
Web database application
PPTX
Wordpress in action
PPTX
Wordpress website scaling challenges
PPTX
PHP tutorials , php tutorials for beginners , tutorials for php
PPTX
I Can Haz More Performanz?
PDF
How WordPress Works
PPTX
Build website using Open Source Technology
PPTX
PDF
PDF
WSF PHP 2 Webinar Sep 2008
PDF
Laravel mailables with mail trap io
DOCX
CV-PhamLeHuy
PPTX
Lecture1 introduction by okello erick
PPTX
Basics of web technologies
Php sessions
Lenguajes y plataformas de desarrollo
WordPress Security & Backup
FaaStRuby
Mashup Server 2.0 Briefing
Web database application
Wordpress in action
Wordpress website scaling challenges
PHP tutorials , php tutorials for beginners , tutorials for php
I Can Haz More Performanz?
How WordPress Works
Build website using Open Source Technology
WSF PHP 2 Webinar Sep 2008
Laravel mailables with mail trap io
CV-PhamLeHuy
Lecture1 introduction by okello erick
Basics of web technologies
Ad

Similar to Introduction to PHP (20)

PPT
Php hypertext pre-processor
PPT
Php unit i
PPT
PHP and MySQL
PPTX
Web technologies lesson 1
PPTX
Introduction to php
PDF
PHP Basics
PPTX
PHP Hypertext Preprocessor
PPT
An Introduction to Websphere sMash for PHP Programmers
PPTX
Php hypertext Preprocessor
PDF
Php tutorial
PPT
Programming paradigm and web programming
PPTX
PHP ITCS 323
PPTX
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PDF
Chapter 1
PPTX
PHP.pptx is the Best Explanation of ppts
PPT
Introduction of PHP And MySql presentation
PDF
Php training in bhubaneswar
PDF
Php training in bhubaneswar
PPTX
Introduction to PHP.pptx
Php hypertext pre-processor
Php unit i
PHP and MySQL
Web technologies lesson 1
Introduction to php
PHP Basics
PHP Hypertext Preprocessor
An Introduction to Websphere sMash for PHP Programmers
Php hypertext Preprocessor
Php tutorial
Programming paradigm and web programming
PHP ITCS 323
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
Chapter 1
PHP.pptx is the Best Explanation of ppts
Introduction of PHP And MySql presentation
Php training in bhubaneswar
Php training in bhubaneswar
Introduction to PHP.pptx
Ad

Recently uploaded (20)

PPTX
Big Data Technologies - Introduction.pptx
PPTX
sap open course for s4hana steps from ECC to s4
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Programs and apps: productivity, graphics, security and other tools
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Network Security Unit 5.pdf for BCA BBA.
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPT
Teaching material agriculture food technology
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
Big Data Technologies - Introduction.pptx
sap open course for s4hana steps from ECC to s4
MIND Revenue Release Quarter 2 2025 Press Release
Spectral efficient network and resource selection model in 5G networks
Programs and apps: productivity, graphics, security and other tools
20250228 LYD VKU AI Blended-Learning.pptx
Network Security Unit 5.pdf for BCA BBA.
The AUB Centre for AI in Media Proposal.docx
Advanced methodologies resolving dimensionality complications for autism neur...
Understanding_Digital_Forensics_Presentation.pptx
Diabetes mellitus diagnosis method based random forest with bat algorithm
Teaching material agriculture food technology
“AI and Expert System Decision Support & Business Intelligence Systems”
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Digital-Transformation-Roadmap-for-Companies.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Per capita expenditure prediction using model stacking based on satellite ima...

Introduction to PHP

  • 2. Meenu Dogra (Director and Co-founder of Techsters Web Pvt. Ltd.)  Experience of 6+ Years in IT Development.  Specialized in  PHP (Codeigniter, Cakephp, Laravel, Wordpress).  Jquery and Angular Js  Css and Bootstrap  Amazon web services  Mobile API’s
  • 4. Features Stands for HyperText Preprocessor Server side scripting language Open Source faster than other scripting language e.g. asp and jsp Cross Platform Compatibility Error Reporting Case Sensitive
  • 5. Uses of PHP It is used for create dynamic website. It is used for send and receive e-amils PHP to find today's date, and then build a calendar for the month Using php you can count your visitors on your website Using php you can create login page for your user Access cookies variables and set cookies Using php you can add, delete, modify elements within your database thru PHP Using PHP, you can restrict users to access some pages of your website It can encrypt data PHP performs system functions, i.e. from files on a system it can create, open, read, write, and close them
  • 6. Installation • Installing Apache, MySQL, PHP as a package WAMP for Windows LAMP for Linux MAMP for Mac XAMPP (Cross, Apache, MySQL, PHP, Perl) for Cross Platform: It includes some other components too such as FileZilla, OpenSSL, Webalizer, OpenSSL, Mercury Mail etc.
  • 7. Syntax PHP code is start with <?php and ends with ?> Every PHP statements end with a semicolon (;). PHP code save with .php extension. <?php // php statement ?>
  • 8. Echo • Echo is used to print anything on webpage echo “Hello example”;
  • 9. Print • Print is used to print anything on webpage print “Hello example”;
  • 10. Differene between echo and print Echo echo can pass multiple string separated as ( , ) echo doesn’t return any value echo is faster then print Print using print can doesn’t pass multiple argument print always return 1 it is slower than echo
  • 11. Thank You SCO 194, 1st Floor, Sector 16 Panchkula