php.org PHP Logo
Beginner Intermediate Advanced

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

What is the purpose of $_SERVER['PHP_SELF'] in PHP?

The purpose of $_SERVER['PHP_SELF'] in PHP is to retrieve the filename of the currently executing script. However, using $_SERVER['PHP_SELF'] in forms...

Is it possible to store login data in $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] using PHP and .htaccess?

Storing login data in $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] using PHP and .htaccess is not recommended as these variables are typicall...

How can the use of $_SERVER["HTTP_HOST"] or $_SERVER["SERVER_NAME"] improve link functionality in PHP?

Using $_SERVER["HTTP_HOST"] or $_SERVER["SERVER_NAME"] can improve link functionality in PHP by dynamically retrieving the host name of the current re...

Are there any best practices or guidelines recommended for handling $_SERVER variables, specifically $_SERVER['PHP_AUTH_USER'], in PHP scripts?

When handling $_SERVER variables, especially sensitive ones like $_SERVER['PHP_AUTH_USER'], it is important to validate and sanitize the input to prev...

How can PHP_SELF be replaced with $_SERVER to avoid security vulnerabilities in PHP scripts?

Using $_SERVER['PHP_SELF'] in PHP scripts can lead to security vulnerabilities such as XSS attacks. To avoid this, it is recommended to replace $_SERV...

Showing 31 to 35 of 1617 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 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.