What is PHP?
PHP is a type of scripting language, also known as interpreted programming. It is primarily used for web development, but is also commonly used for general-purpose programming. PHP originally stood for ‘Personal Home Page’, but now stands for ‘PHP: Hypertext Preprocessor’. It was developed by Rasmus Lerdorf in 1994.
It is an open-source programming language which means that it can be used by anyone free of cost. It can also be ported for use across many platforms, including Linux, Unix, Mac OS and Windows. Its primary use is to make webpages more dynamic, by allowing users to embed PHP code directly into HTML code. Alternately it can also be combined with various web template systems, web content management systems and web frameworks.
PHP is executed at the server side, which means that it executes on the web server where the webpage is created, rather than on the computer accessing the page. Another advantage of PHP is that it can access more than 20 different databases, including MySQL. Additionally, it can also manipulate the information on those databases based on input from an online user.