ezCookie

ezCookie Created by kraffslol. This templates have specific characteristics, namely: ezCookie is a class that will make PHP ’s cookie function more consistent. It allows you to set default parameters and create HTTPONLY .

You can use this ezCookie on Php scripts category for class, cookie, cookies, helper, helpers and another uses.

ezCookie
© Copyright by kraffslol

Features:

  • None: None
  • Php 5.x, php 5.0 5.2, php 5.3: PHP 5.x, PHP 5.0 – 5.2, PHP 5.3
  • Php: PHP
  • Ie6, ie7, ie8, ie9, firefox, safari, opera, chrome 4, chrome 5: IE6, IE7, IE8, IE9, Firefox, Safari, Opera, Chrome 4, Chrome 5
  • None: None

ezCookie is a class that will make PHP ’s cookie function more consistent. It allows you to set default parameters and create HTTPONLY cookies.

This will make keeping track of cookies, creating and fetching cookies much easier and not as annoying. It will allow you to set default values when setting a cookie, it will also allow you to set a default value if the cookie isn’t found.

The default parameters you can set is:

  • Default Expiration date.
  • Default path for the cookie to use.
  • Default domain for the cookie to use.

Other functions that can be useful are:

  • Whether or whether not the cookie should only work on HTTPS connections
  • Setting the cookie to HTTP ONLY (Meaning it wont work in javascript)