PHP Training in Pune

Page 1

What 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@classboat.com | www.classboat.com


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@classboat.com | www.classboat.com


<html>

A Small Sample Code

<head> <title> PHP Test </title> </head> <body> <?php echo "Hello World"; ?> </body> </html>

Mobile No. +91-7767904499 | E-mail :- support@classboat.com | www.classboat.com


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 <?php to open and ?> <script language="php"> </script> <?= (which is used to echo back a string or variable) and ?> <% or <%= and %> Classboat.com Mobile No. +91-7767904499 | E-mail :- support@classboat.com | www.classboat.com


DATA 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@classboat.com | www.classboat.com


RESOURCES •

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@classboat.com | www.classboat.com


For more Information Visit www.classboat.com/tech/php-classes-pune/area-viman-nagar Mobile No. +91-7767904499 | E-mail :- support@classboat.com | www.classboat.com


Turn static files into dynamic content formats.

Create a flipbook
Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.