Menu
ComputerMentor.net - Making a website header

Introduction to PHP

By: For: ComputerMentor Published: 13 July, 2016 Modified: 13 July, 2016

PHP. It might seem "scary" or hard at first, but once you mastered the simple things you realize it is not that bad.

On this site I will explain and show you what it is, and how to implement it to your website to automate your website navigation, open graph, canonical URL's and more. if you are looking for more advanced code, you have to look elsewhere.

Requirements

PHP is a server sided scripting language. So for your website to be able to use PHP, you need to check if your webhost supports it. Hosts like Github Pages dont support it. PHP is free if you want to install it on your own webserver at home. More on the subject on PHP'sofficial website.

What can PHP do?

The easiesy way to see how powerfull PHP really is, is showing off huge webpages who use it. It is powerful enough to be at the core of Wordpress, the biggest blogging system on the web. And it is deep enough to run Facebook, the most popular social network atm. And as a bonus it is easy enough for beginner's first server side language.

What can PHP do?

The easiesy way to see how powerfull PHP really is, is showing off huge webpages who use it. It is powerful enough to be at the core of Wordpress, the biggest blogging system on the web. And it is deep enough to run Facebook, the most popular social network atm. And as a bonus it is easy enough for beginner's first server side language.

A more specific list of what you can do with PHP:

  • Create, open, read, write, close and delete fileson the server
  • Create dynamic page content
  • Send and recieve cookies
  • Collect form data
  • Controll user-access
  • Encrypt data

Why PHP and alternatives

Reasons to use PHP:

  • Multiplatform, such as Windows, Linux, Unix, OSX.
  • High compability with servers, such as Apache and IIS.
  • Supports many different databases.
  • Free and easy to learn

Good PHP alternatives

Whoever you choose to use, you cant really go wrong with PHP. As an added bonus PHP is widely used with lots of help to get on internet forums, IRC channels or just basic Google searches.

Hope you learned something!
If you find any typos, got questions or just want to say hi, please do so in the comment section below :) Dont forget to like and share