PHP Tutorial Basics

PHP is a recursive acronym for “PHP: Hypertext Preprocessor”.

  1. It is an open source.
  2. It is a server-side scripting language, i.e. the PHP script gets executed on the server.
  3. It is widely used in web development.
  4. It can be easily embedded into HTML.
  5. PHP is very much similar in syntax to C or Perl.
  6. How and where PHP is used
  7. Server-side scripting:PHP is mainly used to make web pages which are dynamic and interactive. There are three things needed for this purpose namely, web server, web browser and PHP parser.
  8. Command line scripting:This is used when you don’t want to use browser or server. Only PHP parser is needed. The script can be executed using cron on Linux or Task Scheduler on Windows.
  9. Desktop applications:Though not recommended, PHP can be used to write desktop applications using PHP-GTK. This is used specially in writing cross-platform applications.
  10. Some advantages of PHP
  11. PHP can be used on all major operating systems, including Linux, Unix.
  12. Most of the web servers can be used including Apache, Microsoft Internet Information Server.
  13. PHP can be used to create dynamic and interactive web pages.
  14. PHP code can be easily embedded into HTML code.
  15. PHP is free.
  16. Databases Supported by PHP
  17. Some databases that are supported by PHP are Adabas D, InterBase, PostgreSQL, dBase, FrontBase, SQLite, Empress, mSQL Solid, FilePro (read-only), Direct MS-SQL, Sybase, Hyperwave, MySQL, Velocis, IBM DB2, ODBC, Unix dbm, Informix, Oracle (OCI7 and OCI8), Ingres and Ovrimos.

Previous Post

Comments are closed.