php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "variable URL"

How can the previous URL be determined in PHP?

To determine the previous URL in PHP, you can use the $_SERVER['HTTP_REFERER'] variable. This variable contains the URL of the previous page that refe...

What are some alternative solutions to mod_rewrite for URL rewriting in PHP?

One alternative solution to mod_rewrite for URL rewriting in PHP is to use the built-in $_SERVER['REQUEST_URI'] variable to parse and handle URLs. Thi...

How can URL parameters be accessed in PHP for variable passing between pages?

In PHP, URL parameters can be accessed using the $_GET superglobal array. This array contains key-value pairs of parameters passed in the URL. To acce...

How can the requested URL be passed and processed in PHP error handling?

When handling errors in PHP, it is important to capture the requested URL that triggered the error for debugging or logging purposes. This can be achi...

What is the best practice for passing a URL entered in an input text field to a PHP variable upon submission?

When passing a URL entered in an input text field to a PHP variable upon submission, the best practice is to use the $_POST superglobal to retrieve th...

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.