cookie or javascript

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Alidad
Forum Commoner
Posts: 29
Joined: Thu Mar 29, 2007 12:42 pm

cookie or javascript

Post by Alidad »

hi, I'm trying to create the cookie for person log in and redirect to home page and say "welcome user name", my question is that i know there is something need to change in php.ini to make works with cookie, but i'm not sure what do I need to make change, does any know what section in php.ini do I need to make change for cookie!

AM
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

There are no directives that control cookies in this manner. setcookie() and $_COOKIE are the ones you are specifically looking for in the end. Although you could use sessions.
Post Reply