PHP Tutorial
PHP tutorial 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>
Output:
Hello by PHP
Web Development
PHP is widely used in web development now a days. Dynamic websites
can be easily developed by PHP. But you must have the basic the knowledge of
following technologies for web development as well.
- HTML
- CSS
- JavaScript
- AJAX
- XML and JSON
- JQuery
What is PHP
PHP is a open source, interpreted and object-oriented scripting
language i.e. executed at server side. It is used to develop web applications
(an application i.e. executed at server side and generates dynamic page).
What is
PHP
- PHP is a server side scripting language.
- PHP is an interpreted language, i.e.
there is no need for compilation.
- PHP is an object-oriented language.
- PHP is an open-source scripting
language.
- PHP is simple and easy to learn
language.
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.
No comments:
Post a Comment