I'm trying to write PHP cookie code to set cookie on my visitor's computer with 6 URLs in it. The program should check for cookie and if it doesn't exist, set a new one with default URLS. User could then change the default URLS through form on my site. That's the next step which I could probably figure it out by myself, but now I don't even know how or where to start. I'd like to set a cookie first, then bother with other options.
Does anyone have the code already written?
Thank you in advance