Go to w3schools and answer the questions below, than post to your blog:

  1. What is PHP?  PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that can be embedded into HTML.  This means every browser will recognize PHP and the user will get the same response. A scripting language is used to write ‘scripts’ which are short programs that automate tasks.
  1. Describe briefly the history of PHP:    From http://www.php.net/manual/en/history.php.phpPHP as it’s known today is actually the successor to a product named PHP/FI. Created in 1994 by Rasmus Lerdorf, the very first incarnation of PHP was a simple set of Common Gateway Interface (CGI) binaries written in the C programming language.   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.” PHP 5 was released in July 2004 after long development and several pre-releases. Though only an estimate based upon statistics from previous years, it is safe to presume PHP is now installed on tens or even perhaps hundreds of millions of domains around
  1. Describe general usage of PHP:     PHP can be used to generate dynamic page content, can create, open, read, write, close files on my server It can encrypt data, collect form data, send and receive cookies, can modify data in a database and can restrict users access to pages on my website.
  1. Explain basic PHP syntax:  A PHP script begins with ‘<?php’ and ends with ‘?>’.  A PHP script can be placed (embedded) anywhere in an HTML document.  A PHP script normally contains some HTML tags and some PHP scripting code to accomplish a task.
  1. Explain how PHP can be applied to a website:  If the server has activated support for PHP you do not need to do anything.  Just create some .PHP files, place them in your web directory, and the server will automatically execute them for you.  You do not need to compile anything or install any extra tools.  Because PHP is free, most web hosts offer PHP support.

 

 

Advertisements