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    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 105 All time: 9,603 This week: 171Up
Version License PHP version Categories
cookies 1.0.0MIT/X Consortium ...7HTTP, PHP 7
Description 

Author

lablnet


Contributor

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: 86811 in Pakistan Pakistan
Week rank: 54 Up2 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:105
This week:0
All time:9,603
This week:171Up