CaMykS  1.0-20231201
Functions
cookie.php.inc File Reference

Cookie specific methods. More...

Functions

 cookie_get ($name)
 
 cookie_save ($name, $value, $ttl=0)
 
 cookie_extendTTL ($name, $ttl=0)
 

Detailed Description

Cookie specific methods.

Engine / Tool Library

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.0.1
Date
Creation: Oct 2007
Modification: Apr 2018
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Function Documentation

◆ cookie_get()

cookie_get (   $name)

Read a cookie.

Parameters
string$name
Returns
mixed

◆ cookie_save()

cookie_save (   $name,
  $value,
  $ttl = 0 
)

Write a cookie.

Parameters
string$name
mixed$value
int$ttl(in days)
Returns
boolean

◆ cookie_extendTTL()

cookie_extendTTL (   $name,
  $ttl = 0 
)

Extend cookie time to live.

Parameters
string$name
int$ttl(in days)
Returns
boolean