What is PHP?
PHP is an acronym for Hypertext Preprocessor. It is a dynamic server side scripting language that allows an application developer to create very simple to very complex mechanisms for the web. Think of PHP as the brain and central nervous system behind your applications. PHP code can be directly mingled in with your HTML page content as long as the page has a .php extension ( myPage.php ). Or it can be scripts and class files placed on server and connected to your front-end files. Any HTML file you have can be turned into a PHP file and PHP script will run inside it.
Why Learn PHP?
• Relatively easy to learn and understand
• Processes data fast and dynamically
• Most dynamic web applications being made today have a PHP core (brain)
• Free Open Source Technology
• Create multidimensional data arrays, data looping, and deep data parsing
• Works very well with MySQL Databases (PHP+MySQL are married)
• Create and populate XML files using PHP
• Communicates with Flash (back and forth)
• Time and date functions
• Mathematics to cover any need
• Imaging Libraries
• Resize Images on the fly
• Create shapes and colors on the fly out of nowhere
• Create files and directory folders out of thin air
• Huge Free online resource databases for classes and functions
• The list goes on and on and on…….
PHP blends well into other useful programming languages
PHP Processing Requirements (installation)
You have two options to enable yourself to work with PHP.
1. Build and test on your web server (easy)
Most people starting in PHP development already have a web server online. Simply create your .php files, FTP them into your web directory and the server will parse them for you automatically. Most web hosts offer PHP support, and if your host does not, consider switching to a better one.
If you do not have a web server online yet, buy a Domain Name for about $10 and set up a free or paid hosting account for that domain name. Be sure to choose PHP and not ASP if given a choice. Then you can FTP files to the server and test online.
XAMPP will set up PHP, Apache, and MySQL in one application. Check it out:
Research and get XAMPP for free