Multiple choice php

When turned on, __________ will __________ your script with different variables from HTML forms and cookies.

  1. show_errors, enable

  2. show_errors, show

  3. register_globals, enhance

  4. register_globals, inject

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The 'register_globals' directive (deprecated and removed in modern PHP) automatically created global variables from EGPCS (Environment, GET, POST, Cookie, Server) variables. This 'injected' user-provided data directly into the script's global scope, creating significant security vulnerabilities.