Skip to content

PHP Chapter 2: Forms, Superglobals & Session State ​

Placeholder chapter — Replace this outline with your study notes, code snippets, and exercises.

Planned Topics ​

  • Handling $_POST form submissions, sanitization, and htmlspecialchars() output escaping
  • Post/Redirect/Get (header('Location: ...')) and flash messages
  • Starting and managing sessions (session_start(), $_SESSION)