Re: Array cookie

From: Date: Tue, 22 Jul 2003 07:36:32 +0000
Subject: Re: Array cookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156186@lists.php.net to get a copy of this message
* Thus wrote Shantanu Oak (shantanuo@yahoo.com): > Hi, > I have written a feed reader for my personal use. The > php code given below does work. But it works only with > a single feed. How can I save multiple cookies > (array?) and display a few more RSS feeds. The example > page can be found at... > http://shantanuoak.com/test1.php I would not store the urls in a cookie, but use sessions. Cookies have limits on how long your data can be and how many you can have. If you insist on using cookies you have to set up cookie variables like FeedCookie1 FeedCookie2 ... I'm not sure if you can use the array method (like in a form) to access them. Being that you have to set up variables like that it also make the program that much more complicated. HTH, Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#156186) next »