php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "HttpOnly flag"

What is the correct way to set a cookie in PHP?

To set a cookie in PHP, you need to use the `setcookie()` function. This function takes multiple parameters such as the cookie name, value, expiration...

How can developers ensure that session cookies have the appropriate settings for security and functionality in PHP?

Developers can ensure that session cookies have the appropriate settings for security and functionality in PHP by setting the session cookie parameter...

What is the correct syntax for setting a cookie in PHP?

To set a cookie in PHP, you need to use the setcookie() function. This function takes several parameters including the cookie name, value, expiration...

What are the potential advantages of storing the activation timestamp in a database field instead of a simple "yes/no" flag?

Storing the activation timestamp in a database field instead of a simple "yes/no" flag allows for more flexibility and functionality. By storing the t...

How can the FT_PEEK flag be utilized in the imap_body function to ensure emails are not deleted when fetching them in PHP?

When using the imap_body function in PHP to fetch emails, the FT_PEEK flag can be utilized to ensure that emails are not marked as seen or deleted whe...

Showing 41 to 45 of 1249 results

‹ 1 2 ... 6 7 8 9 10 11 12 ... 249 250 ›
PHP.ORG

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

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.