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
cookie in php
Moderators: egami, macek, gesf
- WiZARD
- Moderator
- Posts: 1240
- Joined: Thu Jun 20, 2002 10:14 pm
- Location: Ukraine, Crimea, Simferopol
- Contact:
Hi where!-[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
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>);
?>
"Sex,Drugs and Rock&Roll " replaced at "Sucks,Bugs and Plug&Play";

