1. What is PHP?
Programing Language for building a website.
PHP is Hypertext Preprocessor
2. Describe briefly the history of PHP.
It was created by Rasmus Lerdoff . He originally used for tracking visits to his online resume, he named the suite of scripts “Personal Home Page Tools,” more frequently referenced as “PHP Tools.” Over time, more functionality was desired producing a much larger and richer implementation. It continued to enjoy a growing popularity in still-young world of web development. In 1997 and 1998, PHP/FI had a cult of several thousand users around the world.
PHP 3.0 was the first version that closely resembles PHP as it exists today and PHP 3.0 was its strong extensibility features.= PHP: Hypertext Preprocessor. A relatively small share of the domains reporting PHP as installed were hosted on servers running Windows 95, 98, and NT, and Macintosh. At its peak, PHP 3.0 was installed on approximately 10% of the web servers on the Internet.
PHP 4= rewrite of PHP’s core = PHP 4.0 included other key features such as support for many more web servers, HTTP sessions, output buffering, more secure ways of handling user input and several new language constructs.
PHP 5= PHP’s development team includes dozens of developers, and an underlying network infrastructure of well over one-hundred individual web servers on six of the seven continents of the world.
As PHP grew, it began to be recognized as a world-wide popular development platform.
3. Describe general usage of PHP like server-side scripting, command-line scripting, and client-side GUI applications.
PHP is mainly focused on server-side scripting, so you can do anything any other CGI program can do, such as collect form data, generate dynamic page content, or send and receive cookies. But PHP can do much more.
Server-side scripting = This is the most traditional field for PHP. You need the PHP parser or server module, a web server and a web browser. You need to run the web server with a PHP connection installed, then you can access the PHP program output with a web browser and view the PHP page trough the server.
•Command line scripting. You can run a PHP script without any server or browser. You only need parser to use it this way. These scripts are used for simple text processing task.
•Writing desktop applications. This not the best way to create a graphical user interface, but if you know PHP very well, you can use PHP-GTK to write such programs.
4. Explain basic PHP syntax.
<!–?php echo ‘
All it does is display: Hello World using the PHP echo()statement. The server finds out that this file needs to be interpreted by PHP because you used the “.php” extension, which the server is configured to pass on to PHP.
5. Explain how PHP can be applied to a website.
PHP can be used on all major operating systems: Linux, Unix, Mac OS X, Microsoft Windows, RISC OS and others.
PHP also support for most of the web servers today = Apache, IIS, others.
PHP abilities includes outputting images, PDF files and Flash movies, text (XHTML or XML files)
But the strongest features in PHP it is support for a wide range of DATABASES. (mysql).
If you like to learn more about PHP try this link: