PHP Classes

PHP Cookies: Set and get cookie values and other parameters

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 113 All time: 9,598 This week: 53Up
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: 52 packages by
Country: Pakistan Pakistan
Age: 23
All time rank: 84310 in Pakistan Pakistan
Week rank: 214 Up4 in Pakistan Pakistan Up
Innovation award
Innovation award
Nominee: 6x

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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:113
This week:0
All time:9,598
This week:53Up