You could serialize your an array and save it in the cookie, but I would also recommend using a session and then save the serialized array in this instead.
Jacob Vennervald On Tue, 2003-07-22 at 09:36, Curt Zirzow wrote: > * Thus wrote Shantanu Oak ([EMAIL PROTECTED]): > > 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." > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Venlig hilsen / Best regards, Jacob Vennervald System Developer Proventum Solutions ApS Tuborg Boulevard 12 2900 Hellerup Denmark Phone: +45 36 94 41 66 Mobile: +45 61 68 58 51 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php