100 likes | 300 Views
WHAT IS PHP. PHP is an HTML-embedded scripting language primarily used for dynamic Web applications. . Key Features. What is PHP? PHP stands for P HP: H ypertext P reprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server
E N D
WHAT IS PHP • PHP is an HTML-embedded scripting language primarily used for dynamic Web applications.
Key Features • What is PHP? • PHP stands for PHP: Hypertext Preprocessor • PHP is a server-side scripting language, like ASP • PHP scripts are executed on the server • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) • PHP is an open source software • PHP is free to download and use
WHAT IS PHP FILE? • What is a PHP File? • PHP files can contain text, HTML tags and scripts • PHP files are returned to the browser as plain HTML • PHP files have a file extension of ".php", ".php3", or ".phtml"
Why PHP? • PHP runs on different platforms (Windows, Linux, Unix, etc.) • PHP is compatible with almost all servers used today (Apache, IIS, etc.) • PHP is FREE to download from the official PHP resource: www.php.net • PHP is easy to learn and runs efficiently on the server side
Basic Requirements • To get access to a web server with PHP support, you can: • Install Apache (or IIS) on your own server, install PHP, and MySQL • Or find a web hosting plan with PHP and MySQL support
Latest Software • AppServeis a software which is combination of PHP + APACHE SERVER + MYSQL DATABASE
What is MySql • It is a database server • It is ideal for both small and large applications • It supports standard SQL • It compiles on a number of platforms • It is free to download and use
Versions of PHP • PHP/FI 2.0 • PHP/FI 3.0 • PHP 4.0 • PHP 5.0 & Sub Versions • PHP 6.0
Advantages of PHP 5.0 & Later • improved object-oriented programming • embedded SQLite • support for new MySQL features (see the image at right) • exception handling using a try..catch structure • integrated SOAP support (see the image at right) • the Filter library (in PHP 5.1) • better XML tools • iterators • and much, much more.
REQUIREMENTS TO PLAN FOR A WEBSITE • HTML – Desing the Web Layout • CSS – Cascade Style Sheets to provide consistent appearance to the html tags & controls • JAVASCRIPT – Mostly used to validate the Web Page • MYSQL – It’s a Database to manage the Data • PHP – To execute server side code which is used to perform logical operations