php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "WAN-IP address"

How can the IP address of a visitor be logged in a PHP website?

To log the IP address of a visitor in a PHP website, you can use the $_SERVER['REMOTE_ADDR'] variable which stores the IP address of the client making...

How can PHP be used to display the user's IP address on a webpage?

To display the user's IP address on a webpage using PHP, you can use the $_SERVER['REMOTE_ADDR'] variable, which contains the IP address of the user m...

How can PHP be used to resolve a dyndns name to an IP address?

To resolve a dyndns name to an IP address using PHP, you can make use of the `gethostbyname()` function. This function takes a hostname as an argument...

How can the IP address of a user be retrieved and used in PHP for conditional statements?

To retrieve the IP address of a user in PHP, you can use the $_SERVER['REMOTE_ADDR'] variable. This variable contains the IP address of the user makin...

What is the best way to convert a URL to an IP address in PHP?

When converting a URL to an IP address in PHP, you can use the `gethostbyname()` function. This function takes a hostname as a parameter and returns t...

Showing 41 to 45 of 7645 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 1528 1529 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.