What is PHP?
PHP is an acronym for "Hypertext Preprocessor". It has become a very popular dynamic server side scripting language that allows an application developer to create very simple to very complex mechanisms for the web. PHP code can be directly mingled in with your HTML page content as long as the page has a .php extension ( myPage.php ). Any HTML file you have can be turned into a PHP file and PHP script will run inside of it. Or it can be made into external parse scripts and class files placed on server and connected to your front-end files.
Who is using PHP to perform operations in their web based software and sites?
• Develop PHP
• Zen Cart
• Web Intersect
• Hundreds of thousands more
The general logic within PHP is similar to other popular programming languages. The syntax of PHP is relatively easy to understand once you create a few applications. PHP can also work in tandem with other technologies by sending information back and forth with other technologies, to help perform specific operations that PHP may not be suited for.
PHP Processing and Testing Environments1. Test on your live web server (easiest way for beginners)
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.
2. Create a local testing environment on your computer
Using a bundled environment software makes life easier:
WAMP - http://www.wampserver.com/en/
XAMPP - http://www.apachefriends.org/en/xampp.html
LAMP - https://www.linux.com/learn/tutorials/288158-easy-lamp-server-installation
Or you can manually install the three components of your local PHP server onto your computer.
PHP Core - http://www.php.net/downloads.php
Apache Server - http://www.apache.org
MySQL Database - http://dev.mysql.com/doc/
The Official PHP Website
PHP Website and Official Documentation - http://www.php.net