php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "HTTP_X_FORWARDED_FOR"

What are the limitations of using cURL to read SERVER variables like HTTP_X_FORWARDED_FOR in PHP?

cURL does not pass the SERVER variables like HTTP_X_FORWARDED_FOR to PHP by default. To access these variables, you can pass them as custom headers in...

Are there alternative methods to retrieve a user's computer name in PHP besides $_SERVER["HTTP_X_FORWARDED_FOR"]?

$_SERVER["HTTP_X_FORWARDED_FOR"] is not the correct method to retrieve a user's computer name in PHP. Instead, you can use the `gethostbyaddr()` funct...

Is it possible to read SERVER-INTERNAL variables like HTTP_X_FORWARDED_FOR from an external source in PHP?

It is not possible to directly read SERVER-INTERNAL variables like HTTP_X_FORWARDED_FOR from an external source in PHP. These variables are typically...

What are some potential pitfalls when trying to read HTTP header information like HTTP_X_FORWARDED_FOR, HTTP_VIA, and HTTP_PROXY_CONNECTION in PHP?

One potential pitfall when trying to read HTTP header information like HTTP_X_FORWARDED_FOR, HTTP_VIA, and HTTP_PROXY_CONNECTION in PHP is that these...

What are the security concerns associated with relying on HTTP headers like HTTP_X_FORWARDED_FOR and HTTP_CF_CONNECTING_IP for IP address detection in PHP?

Relying solely on HTTP headers like HTTP_X_FORWARDED_FOR and HTTP_CF_CONNECTING_IP for IP address detection in PHP can be risky as these headers can b...

Showing 1 to 5 of 39 results

‹ 1 2 3 4 5 6 7 8 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.