php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "cookie functionality"

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 common method to delete a cookie in PHP?

To delete a cookie in PHP, you need to set the cookie with an expiration time in the past. This will prompt the browser to remove the cookie from its...

How can you retrieve a cookie value in PHP?

To retrieve a cookie value in PHP, you can use the $_COOKIE superglobal array. This array contains all the cookies that were sent in the HTTP request....

What is the correct syntax for checking a cookie value in PHP?

To check a cookie value in PHP, you need to use the isset() function to determine if the cookie is set, and then access the cookie value using the $_C...

What is the correct way to create an array cookie in PHP?

To create an array cookie in PHP, you need to set the cookie value as an array using the setcookie() function. This can be achieved by serializing the...

Showing 36 to 40 of 10000 results

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