PHP (officially "PHP: Hypertext Preprocessor") is a server-side HTML-embedded scripting language. PHP code is embedded right in your HTML, like Javascript, but the code executes on the web server before the HTML is sent, instead of on the client machine.