$cookie = array(
'name' => 'submit',
'value' => $this->userid,
'expire' => '30800',
'path' => '/',
'prefix' => 'smx_',
);
set_cookie($cookie);
$check = get_cookie('smx_submit');
'name' => 'submit',
'value' => $this->userid,
'expire' => '30800',
'path' => '/',
'prefix' => 'smx_',
);
set_cookie($cookie);
$check = get_cookie('smx_submit');
No comments:
Post a Comment