PHP Tutorial

A web server programming language.

PHP Intro

What is PHP?

PHP is an acronym for "PHP: Hypertext Preprocessor". It is a widely-used, open source scripting language that is especially suited for web development and can be embedded into HTML.

What can PHP do?

  • Generate dynamic page content
  • Create, open, read, write, and close files on the server
  • Collect form data
  • Send and receive cookies
  • Add, delete, modify data in your database
  • Control user-access
  • Encrypt data

Note: PHP runs on the server, and the plain HTML result is sent back to the browser.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics