What is PHP
Today we will learn about introduction of PHP lets start! PHP 5 is the latest increment of PHP (PHP – Hypertext preprocessor) it a Server side programming language found by Rasmus Lerdorf 1994 ( rasmus wanted a way of logging who was see at his online resume ) for build a dynamic web pages on web servers , but it also still know around the world by its original name , “ Personal Home Page “ .PHP got such a good reputation that by 1995 it was available for use by other people, and the PHP revolution was underway.
A sure that PHP is a maturing as a technology is technology is evidenced its totally revamped and upgraded support for object oriented programming ( OOP) principles and improve support developers to implement among a host of other things, things, graceful application wide error handling .
With all the new features and functionality at PHP5 provides, its important for programmers to “ upgrade “ their understanding in order to best make use of this powerful web scripting tool. And that’s why this is a important for you, the users, to use your important time learning about the greatest that the people developing PHP5 to offer a good platform.
That ‘s all and good, but what exactly is PHP ?
You know it’s a programming language for develop a computer server side applications , so the real question is “ What a Sort of program you write with it ? ” in the technical term , PHP main use is a cross-platform, HTML embedded , server side scripting language let’s take moment to exam these term :
- Corss-platform: Most code can be processed without alteration on computer running many different operating systems. For example, a PHP script that runs on Linux generally also runs well windows.
- HTML-embedded: PHP code be write in files containing a mixture of PHP interaction and HTML code
- Server side: The PHP program runs on a server – specifically a web server.
- Web scripting Language :The PHP program run via a web browser
This means you will make a program mixing PHP code and HTML, Run that on a web server, and access them from browsers that show the result of your PHP processing by showing you the HTML return via the web server. In other words you can write your programs available for other user to access across the web, simply by placing them on public web server.
Your probably already familiar with HTML ( Hyper Text Markup Language )- it’s the main language used to create web pages, combining plain text with special tags that all browser how to treat that text HTML isn used to describe how different elements is a web page should be display, how page should be liked, where to put images , and so on.
Pure HTML document for all their versatility are little more than static arrangements of text and pictures albeit nicely presented once. However most of the sites you find on the web aren’t static but dynamic, even interactive. they can show you a list of articles containing a particular words in which you are interested, show you the latest news even greet you name when you log on. They enable you to interact, and present show you the latest news, even greet you by name when you log on. They you to interact and present you with different information according to the choices you make.
Official Site of PHP
Brief History of PHP
PHP at this time was called personal home page, or personal page tool. at that time, as you might expect, PHP was very simple, and could be used to create web page hit counters, gust book and like. The 1995 version of PHP was called PHP/FI version 2 (FI was a HTML from reader package, that also written by Rasmus ).
In this time, Ramus added support for interface with mini SQL (mSQL), and PHP /FI Started growing at an astonishing rate as some more people contribute code to it . There was a real need for an easy web server programming language then, and the number of PHP just kept growing in 1996, PHP /FI was already being used by about 15000 web pages in 1997 that number grew to more than 50000.
Things started happening fast at that point in 1997, PHP/FI become just PHP, and more people got involved as PHP teams started appearing . Much core work was redone by Zeev Suraski and Andi Gutmans, PHP version 3 appearing – much of it totally rewritten.
Today, PHP is everywhere you look on the web, with an estimated 100 million PHP pages (it’s hard to get accurate statistics if you do a search on Google for PHP, for example , you get an astounding estimated 2,759,000,000 Hits .) PHP is still true to its original name: personal home page, because its gives you the easiest way to make your web pages come alive on server. But PHP has also become a very professional language, suitable for top for notch sites.
You’re going to see it all in this tecnhorishi tutorials. This is where your web page and application come alive.
The lid is off the box when you start to work with PHP now. Just about anything you can do on the web, you do on the web and you can do with PHP. No longer do web pages have static, unchanging things you’re going to able to interact with the user interface in safe and sure way, sending them back web pages tailored to their input. And it all happened in real time.
You can handle buttons click, radio buttons and list box choice or check box easy using PHP. you can code simple web applications such as a guest book, or do any things advanced that possible on the web create database application , client / server application, and multilayer data processors, create graphics interactively on the server and send them back to the browser; register students for online school create web based classroom and more