Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $this->load->helper('cookie');
- $cookie = array(
- 'name' => 'name',
- 'value' => 'The Value',
- 'expire' => '86500',
- 'domain' => '.livesbabies.com',
- 'path' => '/',
- 'prefix' => 'myprefix_',
- );
- set_cookie($cookie);
- $mycook = get_cookie('name');
- print_r($mycook);
Add Comment
Please, Sign In to add comment