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 (11 months ago) RSS 2.0 feedNot enough user ratingsTotal: 103 All time: 9,611 This week: 189Up
Version License PHP version Categories
cookies 1.0.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: 51 packages by
Country: Pakistan Pakistan
Age: 21
All time rank: 88210 in Pakistan Pakistan
Week rank: 201 Up4 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:103
This week:0
All time:9,611
This week:189Up