I'm trying to set a cookie on the user's machine with this data:
A cookie name, 3 data values, and a cookie domain.
So i'm using setcookie('cookie1', $data1, $data2, $data3, '', '', 'my domain');
now it gives me an error saying that value 3 is too long.
So basicaly i'm asking, if I have say:
$data1= name
$data2= ip
$data3= userid
I want to set a cookie, with the name cookie1, with those 3 data values, and the domain of "my domain". How do I do this??