Introduction
PHP
PHP is a server-side scripting language like ASP and JSP that can do all sorts of things: evaluate form data sent from a browser, build custom web content to serve the browser, talk to a database, and even send and receive cookies. Basically PHP designed for web development but also used as a general-purpose programming language. PHP scripts are executed on the server. PHP supports many databases like- MySql, Oracle, Sybase, Solid, PostgreSql, Generic ODBC... etc. PHP is open source software. PHP is free to download and use.
PHP File
- PHP file can contain plain text, HTML tags, internal and external CSS, PHP script and Java-script... etc.
- After PHP files are processed, their output returned to the browser as pure plain HTML.
- PHP filename usually have the file extension of
.php
, .php3
, .phtml
.
- PHP file can contain SQL query too.
Why PHP
- PHP runs perfectly on different operating system like- Windows, Linux, Unix... etc.
- PHP is compatible with almost all web serversused today like- Apache, IIS... etc.
- PHP is free to download from the official website of PHP www.php.net.
- PHP is very easy to learn and runs very efficiently on any compatible web servers.
Where to Start
To start with PHP, you can:-
- Install Apache or IIS as own server, install PHP, and My-sql.
- Find a web hosting plan with PHP and My-sql support.
PHP Setup