Question: Which code will return the IP address of the client?

  1. `$HTTP_SERVER_VARS("REMOTE_IP")`
  2. `$_SESSION["REMOTE_ADDR"];`
  3. `$_SERVER["HTTP_X_FORWARDED_FOR"]`
  4. `getenv("REMOTE_ADDR")`

Answer: The correct answer of the above question is Option D:`getenv("REMOTE_ADDR")`