Page 1 of 1

cookie in php

Posted: Sun Jun 30, 2002 6:59 am
by -[Bl@de Runner]-
Hi all,

I have made on my site a register form where they have to fill in their name, paswoord, nickname ...

I want to store these values into a cookie and store it on their pc.
Can somebody tell me how to do this ?

Thanks

Re: cookie in php

Posted: Sun Jun 30, 2002 10:29 pm
by WiZARD
-[Bl@de Runner]- wrote:Hi all,

I have made on my site a register form where they have to fill in their name, paswoord, nickname ...

I want to store these values into a cookie and store it on their pc.
Can somebody tell me how to do this ?

Thanks

Hi where!
If you have a problem with cookie RTFM my dear friend RTFM in manual it's very good documentary: http://www.php.net/manual/en/function.setcookie.php

If you can't understand:

Code: Select all

<?php
setcookie (<variable>, <value>, <time>,<path>,<domain>,<securityLevel>);
?>