[eluser]Gabi3xz[/eluser]
What is wrong in this array ?
I mean the structure of array
Code:
$cookie = array(
0 => array(
'name' => 'user_id',
'value' => $this->aes->AESEncrypt($result->id, $key,256),
'expire' => '86500',
'domain' => '.localhost',
'secure' => FALSE
),
1 => array(
'name' => 'user_name',
'value' => $this->aes->AESEncrypt($result->email_address, $key,256),
'expire' => '86500',
'domain' => '.localhost',
'secure' => FALSE
)
);
$this->input->set_cookie($cookie);
array simple function