php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "duration"

What are the best practices for setting session duration in PHP applications?

Setting an appropriate session duration is crucial for balancing security and usability in PHP applications. A shorter session duration reduces the ri...

What is the difference between setting the cookie expiration time based on general duration versus inactivity duration in PHP?

Setting the cookie expiration time based on general duration means that the cookie will expire after a specific amount of time, regardless of whether...

Are there any best practices for extracting and storing video duration using PHP?

When extracting and storing video duration using PHP, a best practice is to use a library like FFmpeg for accurate duration retrieval. You can use FFm...

How can the session duration be increased without accessing the php.ini file directly?

To increase the session duration without accessing the php.ini file directly, you can use the session_set_cookie_params() function in PHP to set the s...

How can the duration of a reload lock be displayed in a PHP script?

To display the duration of a reload lock in a PHP script, you can use the microtime() function to get the current time before and after the reload loc...

Showing 1 to 5 of 294 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 58 59 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.