SlideShare a Scribd company logo
My self Learn -PHP What is PHP?
Characteristics of PHP?
Requierments to run PHP?
Syntax of PHP?
PHP Loop Types
Arrays and Strings
PHP File Inclusion
GET and Post Methods
Cookies
Sessions
File upload
PHP Date & time method.

More Related Content

ODP
PPS
PHP - History, Introduction, Summary, Extensions and Frameworks
ODP
Php1
PPTX
PHP .ppt
PPT
Flyr PHP micro-framework
PPT
Php Ppt
PPTX
PHP Presentation
PHP - History, Introduction, Summary, Extensions and Frameworks
Php1
PHP .ppt
Flyr PHP micro-framework
Php Ppt
PHP Presentation

What's hot (19)

PPT
PHP: Hypertext Preprocessor Introduction
PDF
Php & mysql course syllabus
PPTX
PHP presentation - Com 585
PPT
PPT
Advantages of Choosing PHP Web Development
PPTX
Php psr standard 2014 01-22
PPT
Installation of wordpress
PDF
Php course with live project training in janakpuri, New Delhi
PPT
PHP LICTURES ..........
PPT
build your own php extension
PPT
PPT
Apache
PPT
Php basics
PPT
Build your own PHP extension
PPT
Presentation1
DOC
Php tutorial
PDF
CakePHP 3.0: Embracing the future
PPT
How PHP Works ?
PHP: Hypertext Preprocessor Introduction
Php & mysql course syllabus
PHP presentation - Com 585
Advantages of Choosing PHP Web Development
Php psr standard 2014 01-22
Installation of wordpress
Php course with live project training in janakpuri, New Delhi
PHP LICTURES ..........
build your own php extension
Apache
Php basics
Build your own PHP extension
Presentation1
Php tutorial
CakePHP 3.0: Embracing the future
How PHP Works ?
Ad

Viewers also liked (7)

PPT
03 Php Array String Functions
PDF
PHP Unit 4 arrays
PPTX
PHP array 1
PDF
Web app development_php_06
PPT
Php array
PPT
PPTX
Slideshare ppt
03 Php Array String Functions
PHP Unit 4 arrays
PHP array 1
Web app development_php_06
Php array
Slideshare ppt
Ad

Similar to My self learn -Php (20)

PPT
Web development
PPT
Introduction To Php For Wit2009
PPT
Php Training
PPT
PHP and MySQL with snapshots
PPT
Introduction to PHP
PPT
PHP - Introduction to PHP Fundamentals
PPT
Introduction to php
PPT
php 1
PPT
PPTX
Day1
PPTX
Unit 5-PHP Declaring variables, data types, array, string, operators, Expres...
PPT
What Is Php
 
PPTX
Php mysql classes in navi-mumbai,php-mysql course provider-in-navi-mumbai,bes...
PPSX
PHP Comprehensive Overview
ODP
PHP BASIC PRESENTATION
PDF
Php introduction
PPT
Internet Technology and its Applications
PPTX
php basics
Web development
Introduction To Php For Wit2009
Php Training
PHP and MySQL with snapshots
Introduction to PHP
PHP - Introduction to PHP Fundamentals
Introduction to php
php 1
Day1
Unit 5-PHP Declaring variables, data types, array, string, operators, Expres...
What Is Php
 
Php mysql classes in navi-mumbai,php-mysql course provider-in-navi-mumbai,bes...
PHP Comprehensive Overview
PHP BASIC PRESENTATION
Php introduction
Internet Technology and its Applications
php basics

My self learn -Php

  • 1. My self Learn -PHP What is PHP?
  • 8. GET and Post Methods
  • 12. PHP Date & time method.
  • 13. What is PHP? PHP stands for Hypertext Preprocessor.
  • 14. It is server side scripting Language.
  • 15. It is used for web designing
  • 16. It is integrated with a number of popular databases, including MySQL, PostgreSQL, Oracle, Sybase, Informix, and Microsoft SQL Server.
  • 17. Characteristics Simplicity Efficiency Security Flexibility Familiarity
  • 18. Requierments to run PHP 1. It is serverside scripting language so probabbly We need follwing severs. Apache PHP XAMMP MySql Software Perl So if weinstall Xampp everything will be installed . 2.Any Editor to write coding like notepad. 3.Browser to to view the output of program.
  • 19. SYNTAX <? php type coding here ?> Example: <? php echo Hi ?>
  • 20. LOOP TYPES 1. if else 2. for loop 3.for each 4. while loop 5.do while loop 6.break 7.continue Syntax and codings similar to C language.
  • 21. Arrays and Strings Array is data structuer that stores one or more Similar types of variables in single name. * Numeric array - An array with a numeric index * Associative array - An array where each ID key is associated with a value * Multidimensional array - An array containing one or more arrays
  • 22. Strings String is sequences of character EX: $string_1 = &quot;This is a string in double quotes&quot;; There are more number of function. For functions refer: http://www.w3schools.com/php/php_ref_string.asp
  • 23. FILE INCLSION 1. include(): The include() function takes all the text in a specified file and copies it into the file that uses the include function Ex: menu.php file contains <? php home-> user1->user2 ?> X.Php include th menu.php file using following coding <?php include(&quot;menu.php&quot;); ?> OUTPUT OF X.php: home->user1->user2
  • 24. FILE INCLUSION requier()-The require() function takes all the text in a specified file and copies it into the file that uses the include function EX : if we want to use x.php file which already include the menu.php file <?php require(&quot;x.php&quot;); ?>
  • 25. GET &POST METHODS GET: It sends the encoded user information appended to the page request. The page and the encoded information are separated by the ? Character . Ex: output contains the submitted page information. <form action=&quot;welcome.php&quot; method=&quot;get&quot;> Name: <input type=&quot;text&quot; name=&quot;fname&quot; /> Age: <input type=&quot;text&quot; name=&quot;age&quot; /> <input type=&quot;submit&quot; /> </form> OUTPUT: http://www.w3schools.com/welcome.php? fname=Peter&age=37
  • 26. POST METHOD Using the GET method is restricted to send upto 1024 characters only but if we want to send more then 1024 char we will go forthe POST method does not have any restriction on data size to be sent. Ex: <form action=&quot;welcome.php&quot; method=&quot;post&quot;> Name: <input type=&quot;text&quot; name=&quot;fname&quot; /> Age: <input type=&quot;text&quot; name=&quot;age&quot; /> <input type=&quot;submit&quot; /> </form> OUTPUT: The url does not store vaue but the page retrive the value http://www.w3schools.com/welcome.php