Created by emiliodeg, last update on 07/07/2008 15:15
Cookie Class
very easy to use
set cookie: Cookie::set('car','abc 123');
get cookie: Cookie::get('car'); //return 'abc 123'
del cookie: Cookie::del('car'); //delete cookie car
del all cookies: Cookie::delAll();
isset cookie??: Cookie::exists('car'); //return bool value
empty cookie??: Cookie::isEmpty('car'); //return bool value
class Cookie{
publicstatic function set($cookieName,$value='',$time=3600,$path=null,$domain=null,$httpOnly =false){
To replace word where your caret is without selecting it first, you can use Ctrl+B instead of the classical usage of the mouse to select the part to replace and paste action.