SlideShare une entreprise Scribd logo
1  sur  10
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.

Contenu connexe

Tendances

.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 ServicesWorth 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 wordpressHAINIRMALRAJ
 
Php course
Php coursePhp course
Php coursebaluja
 
Intoduction to php
Intoduction to phpIntoduction to php
Intoduction to phpshadsaleem
 
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 2015iScripts
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scriptssana mateen
 
Advantages of PHP Development
Advantages of PHP DevelopmentAdvantages of PHP Development
Advantages of PHP DevelopmentCarol Robertjoan
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data apiJens Bruntt
 
Symfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API MimarisiSymfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API MimarisiBehram ÇELEN
 

Tendances (20)

Word press
Word pressWord press
Word press
 
Phalcon 2 - PHP Brazil Conference
Phalcon 2 - PHP Brazil ConferencePhalcon 2 - PHP Brazil Conference
Phalcon 2 - PHP Brazil Conference
 
.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
 
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) -
 
Php Ppt
Php PptPhp Ppt
Php Ppt
 
Installation of wordpress
Installation of wordpressInstallation of wordpress
Installation of wordpress
 
Php course
Php coursePhp course
Php course
 
PHP
PHPPHP
PHP
 
Composer
ComposerComposer
Composer
 
Php
PhpPhp
Php
 
Intoduction to php
Intoduction to phpIntoduction to php
Intoduction to php
 
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
 
Overview of php
Overview of phpOverview of php
Overview of php
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
Advantages of PHP Development
Advantages of PHP DevelopmentAdvantages of PHP Development
Advantages of PHP Development
 
DomDisc and the Domino data api
DomDisc and the Domino data apiDomDisc and the Domino data api
DomDisc and the Domino data api
 
Symfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API MimarisiSymfony ile Gelişmiş API Mimarisi
Symfony ile Gelişmiş API Mimarisi
 
Php introduction
Php introductionPhp introduction
Php introduction
 
PHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-onPHP Conference - Phalcon hands-on
PHP Conference - Phalcon hands-on
 

Similaire à Php (20)

How PHP works
How PHP works How PHP works
How PHP works
 
Php unit i
Php unit i Php unit i
Php unit i
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php intro
Php introPhp intro
Php intro
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
Php tutorial
Php tutorialPhp tutorial
Php tutorial
 
PHP.docx
PHP.docxPHP.docx
PHP.docx
 
Php1
Php1Php1
Php1
 
Php1
Php1Php1
Php1
 
Php1
Php1Php1
Php1
 
Basic php
Basic phpBasic php
Basic php
 
PHP ITCS 323
PHP ITCS 323PHP ITCS 323
PHP ITCS 323
 
Php
PhpPhp
Php
 
t1837
t1837t1837
t1837
 
t1837
t1837t1837
t1837
 
PHP
PHPPHP
PHP
 
PhP Training Institute In Delhi
PhP Training Institute In DelhiPhP Training Institute In Delhi
PhP Training Institute In Delhi
 
Report.docx
Report.docxReport.docx
Report.docx
 
Php unit i
Php unit iPhp unit i
Php unit i
 

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.