canadabeeau Posted December 12, 2009 Share Posted December 12, 2009 How can I access a cookie file and make one so that when people visit my siet the cookie is made with certain data and next time they visit rather than having to remake the file it pulls up that cookie and uses the information in it. So the function would be like: if cookie exists then get the data and use it, else ask questions and make cookie then use it Any ideas? Link to comment https://forums.phpfreaks.com/topic/184883-cookie/ Share on other sites More sharing options...
rajivgonsalves Posted December 12, 2009 Share Posted December 12, 2009 you should see the following url I think it will have the information you require http://php.net/manual/en/features.cookies.php Link to comment https://forums.phpfreaks.com/topic/184883-cookie/#findComment-975989 Share on other sites More sharing options...
canadabeeau Posted December 12, 2009 Author Share Posted December 12, 2009 Thankyou very much, I have just decided to make it DB driven and not worry about cookies :-) Link to comment https://forums.phpfreaks.com/topic/184883-cookie/#findComment-975990 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.