Title: PHP Training in Pune
1What is PHP
- PHP Hypertext Preprocessor (or simply PHP) is a
server-side scripting language designed for web
development but also used as a general-purpose
programming language. It was originally created
by Rasmus Lerdorf in 1994,the PHP reference
implementation is now produced by The PHP Group - PHP originally stood for Personal Home Page but
it now stands for the recursive acronym PHP
Hypertext Preprocess
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
2 PHP USAGE
- PHP is a general-purpose scripting language that
is especially suited to server-side web
development where PHP generally runs on a web
server. - PHP code in a requested file is executed by the
PHP runtime, usually to create dynamic web page
content. - PHP is also used for command-line scripting and
client-side GUI applications. PHP can be deployed
on most web servers, many operating systems and
platforms, and can be used with many relational
database management systems.
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
3 A Small Sample Code
- lthtmlgt
- ltheadgt
- lttitlegt PHP Test lt/titlegt
- lt/headgt
- ltbodygt
- lt?php
- echo "Hello World"
- ?gt
- lt/bodygt
- lt/htmlgt
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
4 OUTPUT
- Here the output is Hello World.
- PHP only parses code within its delimiters.
Anything outside its delimiters is sent directly
to the output and is not processed by PHP. -
- The most common delimiters are
- lt?php to open and ?gt
- ltscript language"php"gt
- lt/scriptgt
- lt? (which is used to echo back a string or
variable) and ?gt - lt or lt and gt
Classboat.com
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
5DATA TYPES
-
- PHP stores whole numbers in a platform-dependent
range. - This range is typically that of 32-bit signed
integers. Unsigned integers are converted to
signed values in certain situations. - Arrays can contain elements of any type that
handle in PHP . - Including resources, objects, and even other
arrays. - PHP also supports strings, which can be used with
single quotes, double quotes, or heredoc syntax.
Classboat.com
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
6RESOURCES
- PHP includes free and open source libraries.
- PHP is a fundamentally Internet-aware system.
- Many database servers, embedded SQL libraries
such as embedded PostgreSQL, MySQL and SQLite,
LDAP servers, and others. - PHP allows developers to write extensions in C to
add functionality to the PHP language. - These can be compiled into PHP or loaded
dynamically at runtime.
Classboat.com
Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com
7For more Information Visitwww.classboat.com/tech
/php-classes-pune/area-viman-nagar
- Mobile No. 91-7767904499 E-mail -
support_at_classboat.com www.classboat.com