php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "request URI"

How can the complete URI be accessed in PHP, including the server name and request URI?

To access the complete URI in PHP, including the server name and request URI, you can use the combination of $_SERVER['HTTP_HOST'] and $_SERVER['REQUE...

What are the common causes of "Invalid URI in request" errors in PHP, and how can they be resolved?

Common causes of "Invalid URI in request" errors in PHP include improperly formatted URIs, special characters in URIs, or missing required components...

What is the potential issue with using getenv() to retrieve the host and request URI in PHP?

Using getenv() to retrieve the host and request URI in PHP may not always work as expected, especially in certain server configurations or environment...

In PHP applications, what are the advantages and disadvantages of using mod-rewrite to redirect all requests to index.php versus parsing the request URI directly in the PHP code?

When using mod-rewrite to redirect all requests to index.php, the advantage is that it simplifies the configuration and allows for cleaner URLs. Howev...

In what situations might adding the URI scheme to a URL result in an invalid URI in PHP?

Adding an invalid URI scheme to a URL in PHP can result in an invalid URI if the scheme is not recognized or supported. To solve this issue, it is imp...

Showing 1 to 5 of 4946 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 989 990 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.