php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "$_SERVER["REQUEST_URI"]"

What potential pitfalls should be considered when using $_SERVER['REQUEST_URI'] to extract information from a URL?

Using $_SERVER['REQUEST_URI'] directly to extract information from a URL can expose your application to security risks such as injection attacks. It i...

What potential security risks are associated with using the $_SERVER["REQUEST_URI"] variable in PHP scripts for file operations?

Using the $_SERVER["REQUEST_URI"] variable directly in PHP scripts for file operations can pose a security risk as it is user-controlled data and can...

Are there any potential security risks associated with using _SERVER["REQUEST_URI"] to get the complete URL in PHP?

Using _SERVER["REQUEST_URI"] to get the complete URL in PHP can pose a security risk as it directly exposes user input and can be manipulated for mali...

What are the potential pitfalls of using substr($_SERVER['REQUEST_URI'],0,-1) to set the active class?

Potential pitfalls of using substr($_SERVER['REQUEST_URI'],0,-1) to set the active class include the possibility of removing the last character of the...

Are there any potential pitfalls when using $HTTP_SERVER_VARS['DOCUMENT_ROOT'] and $HTTP_SERVER_VARS['REQUEST_URI'] to determine the path?

Using $HTTP_SERVER_VARS['DOCUMENT_ROOT'] and $HTTP_SERVER_VARS['REQUEST_URI'] can be risky because they are not guaranteed to be available in all serv...

Showing 31 to 35 of 1649 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 329 330 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.