PHP TUTORIALPHP IntroductionPHP InstallationPHP Hello WorldPHP Basic SyntaxPHP VariablesPHP ConstantsPHP OutputPHP Data TypesPHP OperatorsPHP ConditionalsPHP Shorthand ConditionalsPHP LoopsPHP Loop Control StructuresPHP FunctionsPHP StringsPHP ArraysPHP Superglobal VariablesPHP in HTMLPHP RegexRegex IntroductionRegex PCRE SyntaxPHP PREG FunctionsPHP FormsPHP Forms IntroductionPHP Forms CreatingPHP Forms SecurityPHP Forms ValidationPHP Forms Required InputsPHP Forms StickyPHP Forms Advanced ValidationPHP Forms Finishing

PHP Introduction

  • PHP is a server-side scripting language designed for web development
  • PHP powers everything from blogs to the most popular websites in the world
  • More about PHP

    • PHP stands for Hypertext Preprocessor
    • PHP code may be embedded into HTML code
    • PHP is used as a server-side language
    • PHP is free, fast, flexible and pragmatic

    Where is PHP used

    • The world's largest social network, Facebook uses PHP
    • The world's largest content management system, Wordpress runs on PHP
    • Many developers uses PHP as a server-side language
    • PHP is a simple. Hence, many beginners uses it.

    Why PHP

    • PHP is secure
    • PHP runs on many operating systems like Windows, Mac OS, Linux, etc.
    • PHP is supported by many servers like Apache, IIS, Lighttpd, etc.
    • PHP supports many database systems
    • PHP is free

    The power of PHP

    • PHP can serve a dynamic web page
    • PHP can collect, validate, save form data
    • PHP can add, modify, delete data in the database
    • PHP can handle sessions and cookies
    • PHP can read, write, delete files on the server
    • PHP can serve Images, PDFs, Flash Movies and more file types
    • PHP can resize, compress, edit images