Need help with cookies

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Mike S.

    Need help with cookies

    I have a website and when users visit that site, I'd like to put a
    cookie on their computer. Then I'd like to retreive the cookie so I
    can actually view it. How would I go about doing that with php?

    BTW, I know nothing about php. I only know basic html. I'm trying to
    learn php but I'm having difficulties with it.

  • Erwin Moller

    #2
    Re: Need help with cookies

    Mike S. wrote:
    I have a website and when users visit that site, I'd like to put a
    cookie on their computer. Then I'd like to retreive the cookie so I
    can actually view it. How would I go about doing that with php?
    >
    BTW, I know nothing about php. I only know basic html. I'm trying to
    learn php but I'm having difficulties with it.
    Hi Mike,

    PHP has easy functions for that:


    But you must learn a little PHP before using it.
    www.php.net is the place to start looking and learning, or get a good book.
    Most functions described (like setcookie) have descriptions that should get
    you going. Also read the usercontributed notes.

    Regards,
    Erwin Moller

    Comment

    • Geoff Berrow

      #3
      Re: Need help with cookies

      Message-ID: <1171966668.940 085.158300@a75g 2000cwd.googleg roups.comfrom
      Mike S. contained the following:
      >I have a website and when users visit that site, I'd like to put a
      >cookie on their computer. Then I'd like to retreive the cookie so I
      >can actually view it. How would I go about doing that with php?
      >
      >BTW, I know nothing about php. I only know basic html. I'm trying to
      >learn php but I'm having difficulties with it.
      And yet you know that you want to set a cookie? Perhaps it might be
      better if you let us know what problem you are trying to solve.

      --
      Geoff Berrow (put thecat out to email)
      It's only Usenet, no one dies.
      My opinions, not the committee's, mine.
      Simple RFDs http://www.ckdog.co.uk/rfdmaker/

      Comment

      Working...