php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "variable URL"

What is the significance of the $_SERVER['HTTP_HOST'] variable in PHP and how can it be used for URL validation?

The $_SERVER['HTTP_HOST'] variable in PHP contains the host name of the server where the current script is executing. It can be used for URL validatio...

What is the function to use in PHP to see which URL was accessed?

To see which URL was accessed in PHP, you can use the $_SERVER['REQUEST_URI'] superglobal variable. This variable contains the URI of the current requ...

How can PHP be used to determine the current page URL?

To determine the current page URL in PHP, you can use the $_SERVER['REQUEST_URI'] superglobal variable. This variable contains the URI (Uniform Resour...

How can you extract the URL path in PHP?

To extract the URL path in PHP, you can use the $_SERVER['REQUEST_URI'] superglobal variable. This variable contains the path and query string of the...

How can PHP be used to retrieve the URL from the address bar?

To retrieve the URL from the address bar in PHP, you can use the $_SERVER['REQUEST_URI'] variable. This variable contains the URL that was used to acc...

Showing 66 to 70 of 10000 results

‹ 1 2 ... 11 12 13 14 15 16 17 ... 1999 2000 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.