Posted by Erwin Moller on 02/20/07 10:38
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:
http://nl2.php.net/manual/en/function.setcookie.php
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
[Back to original message]
|