php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "$_SERVER['REQUEST_TIME']"

What are the key server variables in PHP, such as $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'], used for in URL manipulation?

Server variables such as $_SERVER['HTTP_HOST'] and $_SERVER['REQUEST_URI'] are used in PHP for URL manipulation. These variables provide information a...

How can the $_SERVER['SERVER_NAME'] and $_SERVER['PHP_SELF'] variables be used to retrieve the path of a script in PHP?

To retrieve the path of a script in PHP using $_SERVER['SERVER_NAME'] and $_SERVER['PHP_SELF'], you can concatenate these variables together to form t...

What are the potential pitfalls of generating session IDs based on $_SERVER['HTTP_USER_AGENT'] and $_SERVER['REMOTE_ADDR'] in PHP?

Generating session IDs based on $_SERVER['HTTP_USER_AGENT'] and $_SERVER['REMOTE_ADDR'] can lead to session fixation attacks and can make the applicat...

How can PHP's $_SERVER variable be used to retrieve information about the current URL?

To retrieve information about the current URL using PHP's $_SERVER variable, you can access elements such as $_SERVER['HTTP_HOST'] for the host name,...

What is the difference between $HTTP_SERVER_VARS['REMOTE_ADDR'] and $_SERVER['REMOTE_ADDR'] in PHP?

The difference between $HTTP_SERVER_VARS['REMOTE_ADDR'] and $_SERVER['REMOTE_ADDR'] in PHP is that $HTTP_SERVER_VARS['REMOTE_ADDR'] is an older way of...

Showing 36 to 40 of 1617 results

‹ 1 2 ... 5 6 7 8 9 10 11 ... 323 324 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.