How to use cookies with PHP. ( 7 Views )

no kitty!
  1. Hey all, I am thinking about ways to stash user info on this site I am building. I am not sure what the best way to do this would be, so I will ask the experts.

    http://www.oursmallgroup.com is a site where users can go to find out information about their church small group. The site will feature information relating to anywhere from 2 to 50+ small groups each with about 5-15 people. I would like the user to be able to "weed out" the other groups. To do this I am offering a drop down menu that will be printed dynamically from mySQL. After the user chooses a group from the list, the site will reload displaying content only relating to that group.

    I think it would be a nice touch if the site "remembered" what group they chose and automagically loaded that choice as default the next time they visited the site. It could also be used in place of sessions in PHP could it not?

    Anyway...I would like to generate some links for places I can go to learn about how to use cookies properly. I only want to store the small group selection. Nothing more.

    Let the beatings begin.

    (ahmet, Palau)

  2. A lot of documentation about setting cookies with PHP can be found at
    http://php.net/manual/function.setcookie.php


    (ghostgirl95, Korea, Republic of)

  3. thanks rob...since I am only using cookies for one small thing, I am wondering if I even need to use PHP...can anyone comment on that> I have no clue about cookies so any posts/help would be appreciated...

    (selcuk, Macao)

  4. If you don't want to use cookie, how about simple JavaScript? Some useful information could be found at http://www.irt.org

    (anıl, Netherlands Antilles)

  5. 123...I didn't say I didn't want to use cookies. I want to find out what is the best solution for me. I am leaning towards cookies actually. I will check out your link though.

    thanks

    (mustafa, Iran, Islamic Republic of)

  6. Oops, sorry! Actually it should read: not cookie using PHP!

    (OSMAN, Myanmar)



Related Topics ... (or search in 1.720.883 topics !)

php cookies - cannot seem to set more than one cookie per php page (6)
php cookies (3)
cookies how-to in php (3)
php and cookies (9)
php and cookies (4)
php- cookies help (4)
i need some serious help. php and cookies (5)
cookies in php (7)
php cookies (4)




copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
1.0976