php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "URL parameter string"

How can PHP be used to extract the string behind the # in a URL?

To extract the string behind the # in a URL using PHP, you can use the $_SERVER['REQUEST_URI'] superglobal variable to get the current URL and then us...

How can you extract a number from a string or URL in PHP?

To extract a number from a string or URL in PHP, you can use regular expressions to search for numeric values within the given input. By using a regul...

What are the potential pitfalls of passing an array as a parameter in a URL using PHP?

Passing an array as a parameter in a URL using PHP can lead to security vulnerabilities, as it exposes the structure of your data and makes it easier...

How can one efficiently build a string in PHP to pass as an array parameter in a function call?

When building a string in PHP to pass as an array parameter in a function call, it is important to properly format the string so that it can be conver...

How can the use of http_build_query simplify and improve the cleanliness of PHP code for URL parameter manipulation?

When manipulating URL parameters in PHP, manually concatenating key-value pairs can lead to messy and error-prone code. Using the http_build_query fun...

Showing 81 to 85 of 10000 results

‹ 1 2 ... 14 15 16 17 18 19 20 ... 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.