Board index   FAQ   Search  
Register  Login
Board index php forum :: php coding PHP coding => General

cookie in php

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

cookie in php

Postby -[Bl@de Runner]- » Sun Jun 30, 2002 6:59 am

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
-[Bl@de Runner]-
New php-forum User
New php-forum User
 
Posts: 9
Joined: Sun Jun 30, 2002 6:45 am

Re: cookie in php

Postby WiZARD » Sun Jun 30, 2002 10:29 pm

-[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>);
?>
User avatar
WiZARD
Moderator
Moderator
 
Posts: 1257
Joined: Thu Jun 20, 2002 10:14 pm
Location: Ukraine, Crimea, Simferopol


Return to PHP coding => General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.