Jun 25, 2001 #1 mrdance Programmer Apr 17, 2001 308 SE I have seen, in my cookies that several companys have my name in the cookie. How do they get it? What function in PHP can help me with this? // Henrik
I have seen, in my cookies that several companys have my name in the cookie. How do they get it? What function in PHP can help me with this? // Henrik
Jun 25, 2001 #2 vcherubini Programmer May 29, 2000 527 US The setcookie() function is the one that you will need. Check out all of the documentation of it at http://www.php.net/manual/en/function.setcookie.php. The way they store your name is that you have entered it into a database and they take that value and insert into a cookie. Try that out and if you have any other questions, feel free to ask. Hope this helps. -Vic vic cherubini krs-one@cnunited.com http://www.cnunited.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash ==== Upvote 0 Downvote
The setcookie() function is the one that you will need. Check out all of the documentation of it at http://www.php.net/manual/en/function.setcookie.php. The way they store your name is that you have entered it into a database and they take that value and insert into a cookie. Try that out and if you have any other questions, feel free to ask. Hope this helps. -Vic vic cherubini krs-one@cnunited.com http://www.cnunited.com==== Knows: Perl, HTML, JavScript, C/C++, PHP, Flash ====