Pages

PHP




What is PHP ?

  • PHP stands for PHP: Hypertext Preprocessor
  • PHP is a server-side scripting language, like ASP
  • PHP scripts are executed on the server.
  • PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.)
  • PHP is an open source software (OSS), This means its free to use and isnĘžt being controlled by a single entity. It is being developed by a group of developers
  • PHP syntax resembles that of JavaScript and ActionScript in different ways.
  • PHP is free to download and use.
  • PHP files may contain text, HTML tags and scripts.
  • PHP files are returned to the browser as plain HTML.
  • PHP files have a file extension of ".php", ".php3", or ".phtml".
  • PHP can be written in any text editor.
  • PHP script will be located inside special tags, much like JavaScript 
    • e.g. <?php //php script here ?>
  • PHP code can be located any where in the page.
  • PHP is case sensitive.
  • Every variable in PHP will have the $ symbol as a prefix
    • e.g. $myName =“John”;
  • Every line of code MUST be terminated with a ; symbol.
Why PHP?
  • PHP runs on different platforms (Windows, Linux, Unix, etc.)
  • PHP is compatible with almost all servers used today (Apache, IIS, etc.)
  • PHP is FREE to download from the official PHP resource: www.php.net
  • PHP is easy to learn and runs efficiently on the server side.
How PHP Works?


Share/Bookmark
Related Posts Plugin for WordPress, Blogger...

Popular Posts

Share |