PHP Classes

PHP Cookies: Set and get cookie values and other parameters

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2021-12-10 (6 months ago) RSS 2.0 feedNot enough user ratingsTotal: 100 All time: 9,604 This week: 161Up
Version License PHP version Categories
cookies 1.0MIT/X Consortium ...7HTTP, PHP 7
Description Author

This class can set and get cookie values and other parameters.

It provides several functions that can access the PHP $_COOKIE superglobal variable to perform operations on cookie values for the current HTTP request that PHP is handling.

Currently, it can:

- Set the value and other parameters of a cookie with a given name

- Get or set the path and the domain of the current HTTP request

- Set the values of multiple cookie values

- Check if the current request has set a cookie with a given name

- Get the value of a cookie with a given name

- Get the values of multiple cookies

- Delete the value of a cookie with a given name

- Delete multiple cookies

Picture of Muhammad Umer Farooq
Name: Muhammad Umer Farooq is available for providing paid consulting. Contact Muhammad Umer Farooq .
Classes: 50 packages by
Country: Pakistan Pakistan
Age: 21
All time rank: 89111 in Pakistan Pakistan
Week rank: 488 Up8 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 5x

  Files folder image Files  
File Role Description
Accessible without login Plain text file composer.json Data Auxiliary data
Plain text file Cookies.php Class Class source

 Version Control Unique User Downloads Download Rankings  
 100%
Total:100
This week:0
All time:9,604
This week:161Up
For more information send a message to info at phpclasses dot org.