PHP
PHP for beginners and professionals provides deep
knowledge of PHP scripting language. Our PHP tutorial will help you to learn
PHP scripting language easily. This PHP tutorial covers all the topics of PHP
such as introduction, control statements, functions, array, string, file
handling, form handling, regular expression, date and time, object-oriented
programming in PHP, math, PHP mysql, PHP with ajax, PHP with jquery and PHP
with XML.
What is PHP
- PHP
stands for HyperText Preprocessor.
- PHP
is an interpreted language, i.e. there is no need for compilation.
- PHP
is a server side scripting language.
- PHP
is faster than other scripting language e.g. asp and jsp.
PHP Example
In this tutorial, you will get a lot of PHP examples to
understand the topic well. The PHP file must be save with .php extension. Let's
see a simple PHP example.
File:
hello.php
1.
<!DOCTYPE>
2.
<html>
3.
<body>
4.
<?php
5.
echo "<h2>Hello by PHP</h2>";
6.
?>
7.
</body>
8.
</html>
PHP Features
There are given many features of PHP.
- Performance: Script written
in PHP executes much faster then those scripts written in other languages
such as JSP & ASP.
- Open
Source Software:
PHP source code is free available on the web, you can developed all the
version of PHP according to your requirement without paying any cost.
- Platform
Independent:
PHP are available for WINDOWS, MAC, LINUX & UNIX operating system. A
PHP application developed in one OS can be easily executed in other OS
also.
- Compatibility: PHP is
compatible with almost all local servers used today like Apache, IIS etc.
- Embedded: PHP code can
be easily embedded within HTML tags and script.
Install PHP
To install PHP, we will suggest you to install AMP (Apache,
MySQL, PHP) software stack. It is available for all operating systems. There
are many AMP options available in the market that are given below:
- WAMP for
Windows
- LAMP for Linux
- MAMP for Mac
- SAMP for
Solaris
- FAMP for
FreeBSD
- XAMPP (Cross,
Apache, MySQL, PHP, Perl) for Cross Platform: It includes some other
components too such as FileZilla, OpenSSL, Webalizer, OpenSSL, Mercury
Mail etc.

No comments:
Post a Comment