note 1507 deleted from function.setcookie by imajes

From: Date: Sat, 06 Apr 2002 21:55:24 +0000
Subject: note 1507 deleted from function.setcookie by imajes
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28789@lists.php.net to get a copy of this message
Given the 20-cookie limit, one really doesn't want to use the <cookie>[subscript] usage, since each element becomes a separate cookie. Instead use serialize and unserialize, and use unserialize(stripslashes($cookie)) instead of plain unserialize()[see my note there].

« previous php.notes (#28789) next »