PHP Introduction / What is PHP?
1. PHP stands for “Hypertext Preprocessor”.
2. PHP is a server-side scripting language.
3. PHP is a powerful tool for making dynamic and interactive Web pages. Php is an interpreted language.
4. PHP is an object-oriented language.
5. PHP is a widely-used, open source scripting language.
6. PHP is free to download and use.
7. PHP is simple and easy to learn a language.
8. PHP code is executed on the server, and the result is returned to the browser as plain HTML.
9. PHP files have the extension “.php”
Example Website:
The biggest blogging system on the web (WordPress)!
Largest social network (Facebook)!
Why PHP?
– PHP can collect form data
– PHP can send and receive cookies
– PHP can add, delete, modify data in your database
– PHP can be used to control user access
– PHP can encrypt data
– PHP runs on various platforms (Windows, Linux, Unix, Mac OS X, etc.)
– PHP is compatible with almost all servers used today (Apache, IIS, etc.)
– PHP supports a wide range of databases
– Download it from the official PHP resource: www.php.net
important characteristics
1. Efficiency
2. Security
3. Simplicity
4. Flexibility
5. Familiarity
Note:- PHP originally stood for “Personal Home Page”, but it now stands for the recursive acronym PHP: Hypertext Preprocessor.