SlideShare a Scribd company logo
PHP 1.Introduction 2.Main areas of using php scripts 3.PHP files 4.Comments in php 5.How PHP works 6.PHP.in
1.Scripting/Programming language(“c-like”) 2.Free and Open source 3.Fast,Open,Stable,Cross-Platform! 4.No Complilation! 5.Easy to use but Extremely Powerful 6.PHP is all about community INTORDUCTION
Three main areas where PHP scripts are used . 1.Server-side scripting. 2.Command line scripting. 3.Writing desktop applications
Server-side scripting This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server.
Command line scripting. We can make a PHP script to run it without any server or browser. we only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for  simple  text processing task s
Is probably not the very best language to create a desktop application with a graphical user interface, but if we know PHP very well,would like to use some advanced PHP features in your client-side applications we can also use PHP-GTK to write such programs.We also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution Writing desktop applications
PHP files can contain text, HTML tags and scripts.  PHP files have a file extension of ".php", ".php3", or ".phtml" PHP code is executed on the server, and the plain  HTML result is sent to the browser. A PHP file  contains   HTML tags and some PHP scripting code. PHP FILES
Comments in PHP In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.
How PHP Works The PHP interpreter processes the page, communicating with file systems, databases, and email servers as necessary, and then delivers a web page to the web server to return to the browser.
PHP . ini 1 . PHP.ini is very useful and it is a configuration file that is used to customize behavior of PHP at runtime.  2 .This enables easy administration in the way that administer Apache web server using configuration files. 3 . The Settings in which  upload directory, register global variables, display errors, log errors, max uploading size setting, maximum time to execute a script and other configurations is written in this file.

More Related Content

What's hot (20)

Word press
Word pressWord press
Word press
Brian Lucas
 
Phalcon 2 - PHP Brazil Conference
Phalcon 2 - PHP Brazil ConferencePhalcon 2 - PHP Brazil Conference
Phalcon 2 - PHP Brazil Conference
Jackson F. de A. Mafra
 
.Net Development Services VS | PHP Development Services
.Net Development Services  VS | PHP Development Services.Net Development Services  VS | PHP Development Services
.Net Development Services VS | PHP Development Services
Worth Studios Pvt. Ltd.
 
7 covid19 - chp 06 - php loop (shared) -
7  covid19 - chp 06 - php loop (shared) -7  covid19 - chp 06 - php loop (shared) -
7 covid19 - chp 06 - php loop (shared) -
YUSRA FERNANDO
 
Php Ppt
Php PptPhp Ppt
Php Ppt
vsnmurthy
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
HAINIRMALRAJ
 
Php course
Php coursePhp course
Php course
baluja
 
PHP
PHPPHP
PHP
Jawhar Ali
 
Composer
ComposerComposer
Composer
Arshad Ali
 
Php
PhpPhp
Php
HAINIRMALRAJ
 
Intoduction to php
Intoduction to phpIntoduction to php
Intoduction to php
shadsaleem
 
Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015
iScripts
 
Overview of php
Overview of phpOverview of php
Overview of php
prisense india
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
sana mateen
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
JIGAR MAKHIJA
 
Advantages of PHP Development
Advantages of PHP DevelopmentAdvantages of PHP Development
Advantages of PHP Development
Carol Robertjoan
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data api
Jens Bruntt
 
Symfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API MimarisiSymfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API Mimarisi
Behram ÇELEN
 
Php introduction
Php introductionPhp introduction
Php introduction
Ahmed Elshal
 
PHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-onPHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-on
Jackson F. de A. Mafra
 
.Net Development Services VS | PHP Development Services
.Net Development Services  VS | PHP Development Services.Net Development Services  VS | PHP Development Services
.Net Development Services VS | PHP Development Services
Worth Studios Pvt. Ltd.
 
7 covid19 - chp 06 - php loop (shared) -
7  covid19 - chp 06 - php loop (shared) -7  covid19 - chp 06 - php loop (shared) -
7 covid19 - chp 06 - php loop (shared) -
YUSRA FERNANDO
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
HAINIRMALRAJ
 
Php course
Php coursePhp course
Php course
baluja
 
Intoduction to php
Intoduction to phpIntoduction to php
Intoduction to php
shadsaleem
 
Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015Advanced PHP Web Development Tools in 2015
Advanced PHP Web Development Tools in 2015
iScripts
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
sana mateen
 
Advantages of PHP Development
Advantages of PHP DevelopmentAdvantages of PHP Development
Advantages of PHP Development
Carol Robertjoan
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data api
Jens Bruntt
 
Symfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API MimarisiSymfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API Mimarisi
Behram ÇELEN
 

Similar to Php (20)

How PHP works
How PHP works How PHP works
How PHP works
Atlogys Technical Consulting
 
Php unit i
Php unit i Php unit i
Php unit i
prakashvs7
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
Niit
 
Php intro
Php introPhp intro
Php intro
sana mateen
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
sushil kumar
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
Nguyễn Hoà
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
vigneswaran54
 
PHP.docx
PHP.docxPHP.docx
PHP.docx
NithiyaNithi2
 
Introduction to PHP from Beginning to End
Introduction to PHP from Beginning to EndIntroduction to PHP from Beginning to End
Introduction to PHP from Beginning to End
christopherneo4
 
Php1
Php1Php1
Php1
poornima sugumaran
 
Php1
Php1Php1
Php1
poornima sugumaran
 
Php1
Php1Php1
Php1
poornima sugumaran
 
Introduction to PHP and mysql BSIT SSC project
Introduction to PHP and mysql BSIT SSC projectIntroduction to PHP and mysql BSIT SSC project
Introduction to PHP and mysql BSIT SSC project
ChristopherYSabado
 
Basic php
Basic phpBasic php
Basic php
salissal
 
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoilec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
lec1 (1).pptxkeoiwjwoijeoiwjeoijwoeijewoi
PedakotaPavankumar
 
PHP ITCS 323
PHP ITCS 323PHP ITCS 323
PHP ITCS 323
Sleepy Head
 
Php
PhpPhp
Php
Vineet Vats
 
t1837
t1837t1837
t1837
tutorialsruby
 
t1837
t1837t1837
t1837
tutorialsruby
 
PHP
PHPPHP
PHP
ARJUN
 

Php

  • 1. PHP 1.Introduction 2.Main areas of using php scripts 3.PHP files 4.Comments in php 5.How PHP works 6.PHP.in
  • 2. 1.Scripting/Programming language(“c-like”) 2.Free and Open source 3.Fast,Open,Stable,Cross-Platform! 4.No Complilation! 5.Easy to use but Extremely Powerful 6.PHP is all about community INTORDUCTION
  • 3. Three main areas where PHP scripts are used . 1.Server-side scripting. 2.Command line scripting. 3.Writing desktop applications
  • 4. Server-side scripting This is the most traditional and main target field for PHP. You need three things to make this work. The PHP parser (CGI or server module), a web server and a web browser. You need to run the web server, with a connected PHP installation. You can access the PHP program output with a web browser, viewing the PHP page through the server.
  • 5. Command line scripting. We can make a PHP script to run it without any server or browser. we only need the PHP parser to use it this way. This type of usage is ideal for scripts regularly executed using cron (on *nix or Linux) or Task Scheduler (on Windows). These scripts can also be used for simple text processing task s
  • 6. Is probably not the very best language to create a desktop application with a graphical user interface, but if we know PHP very well,would like to use some advanced PHP features in your client-side applications we can also use PHP-GTK to write such programs.We also have the ability to write cross-platform applications this way. PHP-GTK is an extension to PHP, not available in the main distribution Writing desktop applications
  • 7. PHP files can contain text, HTML tags and scripts.  PHP files have a file extension of ".php", ".php3", or ".phtml" PHP code is executed on the server, and the plain HTML result is sent to the browser. A PHP file contains HTML tags and some PHP scripting code. PHP FILES
  • 8. Comments in PHP In PHP, we use // to make a single-line comment or /* and */ to make a large comment block.
  • 9. How PHP Works The PHP interpreter processes the page, communicating with file systems, databases, and email servers as necessary, and then delivers a web page to the web server to return to the browser.
  • 10. PHP . ini 1 . PHP.ini is very useful and it is a configuration file that is used to customize behavior of PHP at runtime. 2 .This enables easy administration in the way that administer Apache web server using configuration files. 3 . The Settings in which upload directory, register global variables, display errors, log errors, max uploading size setting, maximum time to execute a script and other configurations is written in this file.
  翻译: