php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "file expiration"

How can PHP be used to check login data and handle session expiration gracefully?

To check login data and handle session expiration gracefully in PHP, you can verify the login credentials against a database and set session variables...

What are the potential pitfalls of relying on session.gc_maxlifetime to manage session expiration in PHP?

Relying solely on session.gc_maxlifetime to manage session expiration in PHP can be risky as it only sets the maximum lifetime for garbage collection,...

What is the purpose of setting cookies without an expiration date in PHP?

Setting cookies without an expiration date in PHP means that the cookie will only last for the duration of the user's session. This can be useful for...

Why does setting a cookie without time() result in the expiration date being displayed as 1970?

Setting a cookie without providing an expiration time defaults to 0, which represents the Unix timestamp of January 1, 1970. To solve this issue and s...

What are the implications of using 7*24*60*60 to determine the expiration time of a cached file in PHP?

Using 7*24*60*60 to determine the expiration time in PHP may lead to potential issues if the server's timezone is different from the timezone used in...

Showing 16 to 20 of 10000 results

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