The following example creates a cookie named "user" with the value "John Doe". The cookie will ... With PHP, you can both create and retrieve cookie values.
www.w3schools.com