how to apply cookie in php how to store data in cookie how to reset it in php page..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • itsmenarwal
    New Member
    • Jan 2010
    • 20

    #1

    how to apply cookie in php how to store data in cookie how to reset it in php page..

    Hi everyone.....

    I read out the topic of how to pass a variable into another page using session.And mr.moderator have explained it with beauty.I apply this and it is working for me..Can anyone give such a good explaianation for cookie also..How to store data in cookie,destoy cookie etc un ,php page .I read out it from w3schools.com but i dont know how to implement that.Like session(how to pass varible through page) plz also give link(if already created i have searched) or explain it so that newbies can get help from this...Thank you..
  • johny10151981
    Top Contributor
    • Jan 2010
    • 1059

    #2
    Please look into php site(www.php.net, not sure). You better google it with search id cookie. You would get better answer.

    Comment

    • dlite922
      Recognized Expert Top Contributor
      • Dec 2007
      • 1586

      #3
      Follow these steps:

      1. Find what you want to learn. (in your case sessions and cookies with PHP)

      2. Research the subject and take some tutorials. Google is of great help here, and yes w3schools.org is how most of got started. Here's another link for you:



      3. Attempt the code yourself free hand without copy and pasting.

      4. If you have trouble refer to the manual. If it still doesn't make sense, ask a specific question here.

      You can't come in here and say teach me PHP.

      That being said, do you have a specific question that the manual can't answer?

      If not, good luck and happy coding! You'll be coding PHP is no time!




      Dan

      Comment

      Working...