Introduction and Installation of PHP

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.

learn php
Why Learn PHP?
  1. Relatively easy to learn and understand than other languages like .NET
  2. Processes data fast and dynamically
  3. Most dynamic web applications being made today have a PHP core (brain)
  4. Free Open Source Technology
  5. Sports over 700 Built-In functions that are ready to automate your programming tasks
  6. Works very well with MySQL Databases (PHP+MySQL are married)
  7. Intuitive Syntax is similar to JavaScript and ActionScript
  8. Create and populate XML files using PHP
  9. Communicates with Flash (back and forth)
  10. Time and date functions
  11. Mathematics to cover any need
  12. Can be used to create complete social networks, and online forums
  13. Parse file uploads
  14. Processes online forms and sends emails
  15. Imaging Libraries
  16. Resize Images on the fly,& create shapes and colors on the fly out of nowhere
  17. Create files and directory folders out of thin air
  18. Create multidimensional data arrays, data looping, and deep data parsing
  19. Huge Free online resource databases for classes and functions

PHP developers are more in demand than .NET

Who Is Using PHP In the Programming of Their Website or Applications?

  • Facebook
  • Google
  • WordPress
  • Joomla
  • Develop PHP
  • Zen Cart
  • OScommerce
  • Web Intersect
Social media

And Hundreds of Thousands More

Usually any time you can interact with a website in any way, PHP is doing its thing behind the scenes there.

PHP blends well into other useful programming languages

php wallpaper

PHP’s syntax is very similar to ActionScript(used in Flash and Flex) and JavaScript. So when someone learns any one of these three languages they have a good head start when it comes time to learn the other two. The logic behind PHP is very easy to understand and master once you create a few applications. PHP can also work in tandem with these other languages. You can send information back and forth when needed, to process information in any way you want.

PHP Processing Requirements (installation)

You have two options to enable yourself to work with PHP.

1. Build and test on your web server (easy)

2. 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, you can 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