in reply to Cookie shop problem

What is the contents of $list? If your param's are NULL, you will set the cookie ":::", which is %3A%3A%3A when encoded. You should check the return values of those query calls ...

ps

$list = join(":",$idCumparator,$denumire,$pret,$idAfiliat);

Remember, when you stare long into the abyss, you could have been home eating ice cream.